mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-12-02 13:44:56 +00:00
Add default profile picture to UserEntity
This commit is contained in:
@ -7,6 +7,7 @@ import { UserRoleEntity } from '../../user-role/entities';
|
||||
import { DeviceNotificationEntity } from '../../device-notification/entities';
|
||||
import { UserNotificationEntity } from '../../user-notification/entities';
|
||||
import { DeviceEntity } from '../../device/entities';
|
||||
import { defaultProfilePicture } from '@app/common/constants/default.profile.picture';
|
||||
import { RegionEntity } from '../../region/entities';
|
||||
import { TimeZoneEntity } from '../../timezone/entities';
|
||||
|
||||
@ -22,7 +23,7 @@ export class UserEntity extends AbstractEntity<UserDto> {
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: 'text',
|
||||
default: '',
|
||||
default: defaultProfilePicture,
|
||||
})
|
||||
public profilePicture: string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user