Skip to content

Commit

Permalink
fix endpoint typo
Browse files Browse the repository at this point in the history
  • Loading branch information
antsgar committed Dec 22, 2024
1 parent ac9f914 commit cdb97f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webapp/src/containers/Task/sagaUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const getEndpoint = (isCustomTask, taskTranslationKey) => {
return 'custom_task';
}
const endpoints = {
HARVEST_TASK: 'harvest_tasks',
HARVEST_TASK: 'harvest_task',
MOVEMENT_TASK: 'animal_movement_task',
};
return endpoints[taskTranslationKey] || taskTranslationKey.toLowerCase();
Expand Down

0 comments on commit cdb97f7

Please sign in to comment.