We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81fb740 commit 4be9b57Copy full SHA for 4be9b57
1 file changed
apps/api/src/sessions/dto/create-session.dto.ts
@@ -2,13 +2,12 @@ import { ValidationSchema } from '@douglasneuroinformatics/libnest';
2
import { $CreateSessionData } from '@opendatacapture/schemas/session';
3
import type { SessionType } from '@opendatacapture/schemas/session';
4
import type { CreateSubjectData } from '@opendatacapture/schemas/subject';
5
-import type { CreateUserData } from '@opendatacapture/schemas/user';
6
7
@ValidationSchema($CreateSessionData)
8
export class CreateSessionDto {
9
date: Date;
10
groupId: null | string;
11
subjectData: CreateSubjectData;
12
type: SessionType;
13
- userData: CreateUserData;
+ userId: null | string | undefined;
14
}
0 commit comments