mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-27 18:24:53 +00:00
convert project from microservices to rest apis
This commit is contained in:
@ -22,5 +22,4 @@ export class SessionDto {
|
||||
@IsBoolean()
|
||||
@IsNotEmpty()
|
||||
public isLoggedOut: boolean;
|
||||
|
||||
}
|
||||
|
||||
@ -1 +1 @@
|
||||
export * from './session.entity'
|
||||
export * from './session.entity';
|
||||
|
||||
@ -5,7 +5,7 @@ import { SessionDto } from '../dtos/session.dto';
|
||||
@Entity({ name: 'userSession' })
|
||||
export class UserSessionEntity extends AbstractEntity<SessionDto> {
|
||||
@Column({
|
||||
type: 'uuid',
|
||||
type: 'uuid',
|
||||
default: () => 'gen_random_uuid()',
|
||||
nullable: false,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user