Skip to content

Commit

Permalink
Subject type update (#60)
Browse files Browse the repository at this point in the history
* add subject type where needed
  • Loading branch information
aaronshiel authored Apr 20, 2022
1 parent f1920a7 commit 56e6370
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ def transfer(body):
"_id": {"type": "string"},
"name": {"type": "string"},
"description": {"type": "string"},
"type": {"type": "string"},
"isRequired": {"type": "boolean"},
"categories": {
"type": "array",
Expand Down
1 change: 1 addition & 0 deletions mentor_upload_api/src/mentor_upload_tasks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ class SubjectQuestionGQL:
class Subject:
_id: str
name: str
type: str
description: str
isRequired: str
categories: List[Category]
Expand Down
1 change: 1 addition & 0 deletions mentor_upload_worker/src/mentor_upload_process/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ class SubjectQuestionGQL:
class Subject:
_id: str
name: str
type: str
description: str
isRequired: str
categories: List[Category]
Expand Down

0 comments on commit 56e6370

Please sign in to comment.