add apikey
This commit is contained in:
@@ -43,11 +43,9 @@ class CoursePayload(BaseModel):
|
||||
|
||||
@router.post('/', compress=True, tags=['Course'])
|
||||
def post_course(payload: CoursePayload):
|
||||
org = Org(id='*', name='EDUSEG')
|
||||
|
||||
create_course(
|
||||
course=payload.course,
|
||||
org=org,
|
||||
org=Org(id='*', name='default'),
|
||||
persistence_layer=course_layer,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user