Skip to content

Commit

Permalink
Merge pull request #14 from concord-consortium/move-student-update
Browse files Browse the repository at this point in the history
Move student update
  • Loading branch information
scytacki authored Nov 22, 2019
2 parents e9cfaca + 3bf5b1e commit 3122d69
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion functions/src/api/move-student-work.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ const processAnswer = (answerDoc: any, data: any) => {
// this returns a promise that resolves
// once all of the answer documents of the user have been updated
const processAssignment = (assignment: IPortalMoveStudentsAssignment, config: IPortalMoveStudentsConfig) => {

if (!assignment.tool_id) {
return Promise.resolve(null)
}
const sourceKey = makeSourceKey(assignment.tool_id)
const data = {
class_info_url: config.new_class_info_url,
Expand Down

0 comments on commit 3122d69

Please sign in to comment.