Skip to content

Commit

Permalink
correctly add data-subject to the body, and call super.post
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeGoodall committed Feb 1, 2024
1 parent 738b99b commit e080786
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/controllers/datasetController.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ class DatasetController extends PageController {
break
}
}
req.sessionModel.set('data-subject', dataSubject)
req.body['data-subject'] = dataSubject
super.post(req, res, next)
}
}

Expand Down

0 comments on commit e080786

Please sign in to comment.