mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
begins testing score task route
This commit is contained in:
@@ -235,7 +235,7 @@ function _generateWebhookTaskData (task, direction, delta, stats, user) {
|
||||
*/
|
||||
api.scoreTask = {
|
||||
method: 'POST',
|
||||
url: 'tasks/score/:taskId/:direction',
|
||||
url: '/tasks/score/:taskId/:direction',
|
||||
middlewares: [authWithHeaders()],
|
||||
handler (req, res, next) {
|
||||
req.checkParams('taskId', res.t('taskIdRequired')).notEmpty().isUUID();
|
||||
|
||||
Reference in New Issue
Block a user