feat(course-users): set new tutorials to Schulung
This commit is contained in:
parent
2c13defecd
commit
69de44893c
@ -266,7 +266,7 @@ upsertNewTutorial cid tutorialName = do
|
||||
Entity tutId _ <- runDB $ upsert
|
||||
Tutorial
|
||||
{ tutorialCourse = cid
|
||||
, tutorialType = CI.mk mempty -- TODO: remove type? unneeded?
|
||||
, tutorialType = CI.mk "Schulung"
|
||||
, tutorialCapacity = Nothing
|
||||
, tutorialRoom = Nothing
|
||||
, tutorialRoomHidden = False
|
||||
@ -280,6 +280,7 @@ upsertNewTutorial cid tutorialName = do
|
||||
, ..
|
||||
}
|
||||
[ TutorialName =. tutorialName
|
||||
, TutorialType =. CI.mk "Schulung"
|
||||
, TutorialLastChanged =. now
|
||||
]
|
||||
return tutId
|
||||
|
||||
Reference in New Issue
Block a user