mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-16 02:36:19 +00:00
On empty list, return empty array. Instead of error
This commit is contained in:
@ -14,8 +14,6 @@ export class SceneIconSeeder {
|
||||
});
|
||||
|
||||
if (defaultSceneIconData.length <= 0) {
|
||||
console.log('Creating default scene icon...');
|
||||
|
||||
await this.createDefaultSceneIcon();
|
||||
}
|
||||
} catch (err) {
|
||||
|
Reference in New Issue
Block a user