Skip to content

Commit

Permalink
Merge pull request #164 from BIDMCDigitalPsychiatry/add-category-in-c…
Browse files Browse the repository at this point in the history
…lone

#fixes add category while cloning
  • Loading branch information
ZCOEngineer authored Nov 19, 2021
2 parents 25de654 + 5daaeef commit 7e52d64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/service/StudyService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ StudyService.Router.post("/researcher/:researcher_id/study/clone", async (req: R
spec: activity.spec,
settings: activity.settings,
schedule: activity.schedule,
category: activity.category ?? null
}
const res = await ActivityRepository._insert(output["data"], object)
object.id = activity.id
Expand Down

0 comments on commit 7e52d64

Please sign in to comment.