mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-24 07:37:55 +00:00
Merge pull request #339 from SyncrowIOT/feat/commission-device
Feat/commission device
This commit is contained in:
@@ -78,7 +78,7 @@ export class DeviceEntity extends AbstractEntity<DeviceDto> {
|
||||
|
||||
@OneToMany(() => NewTagEntity, (tag) => tag.devices)
|
||||
// @JoinTable({ name: 'device_tags' })
|
||||
public tag: NewTagEntity[];
|
||||
public tag: NewTagEntity;
|
||||
|
||||
constructor(partial: Partial<DeviceEntity>) {
|
||||
super();
|
||||
|
||||
Reference in New Issue
Block a user