mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-11 07:00:41 -04:00
refactor: remove unused format rules from response schema (#60538)
This commit is contained in:
committed by
GitHub
parent
c754f29879
commit
3cde3e17d6
@@ -48,11 +48,7 @@ export const getSessionUser = {
|
||||
),
|
||||
quizAttempts: Type.Array(
|
||||
Type.Object({
|
||||
challengeId: Type.String({
|
||||
format: 'objectid',
|
||||
maxLength: 24,
|
||||
minLength: 24
|
||||
}),
|
||||
challengeId: Type.String(),
|
||||
quizId: Type.String(),
|
||||
timestamp: Type.Number()
|
||||
})
|
||||
@@ -100,7 +96,7 @@ export const getSessionUser = {
|
||||
partiallyCompletedChallenges: Type.Array(
|
||||
Type.Object({ id: Type.String(), completedDate: Type.Number() })
|
||||
),
|
||||
picture: Type.String(), // TODO(Post-MVP): format as url/uri?
|
||||
picture: Type.String(),
|
||||
points: Type.Number(),
|
||||
portfolio: Type.Array(
|
||||
Type.Object({
|
||||
|
||||
Reference in New Issue
Block a user