Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

Commit

Permalink
Ikke repack teacher før det sendes inn til documents (vi trenger grou…
Browse files Browse the repository at this point in the history
…pIds med widerøe)
  • Loading branch information
MatsAnd committed Jan 30, 2021
1 parent 1b5bea6 commit 42355eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Students/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const handleStudents = async (context, req) => {

// Get current user
logger('info', ['handle-students', 'user', user, 'get-user'])
const teacher = repackTeacher(await getMyUser(user))
const teacher = await getMyUser(user)
logger('info', ['handle-students', 'user', user, 'get-user'])

// GET: /students/{id}/documents/{type?}
Expand Down

0 comments on commit 42355eb

Please # to comment.