We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c754f29 commit 3cde3e1Copy full SHA for 3cde3e1
1 file changed
api/src/schemas/user/get-session-user.ts
@@ -48,11 +48,7 @@ export const getSessionUser = {
48
),
49
quizAttempts: Type.Array(
50
Type.Object({
51
- challengeId: Type.String({
52
- format: 'objectid',
53
- maxLength: 24,
54
- minLength: 24
55
- }),
+ challengeId: Type.String(),
56
quizId: Type.String(),
57
timestamp: Type.Number()
58
})
@@ -100,7 +96,7 @@ export const getSessionUser = {
100
96
partiallyCompletedChallenges: Type.Array(
101
97
Type.Object({ id: Type.String(), completedDate: Type.Number() })
102
98
103
- picture: Type.String(), // TODO(Post-MVP): format as url/uri?
99
+ picture: Type.String(),
104
points: Type.Number(),
105
portfolio: Type.Array(
106
0 commit comments