Skip to content

Commit 46d0a8e

Browse files
committed
♻️ rename http routes for tasks
1 parent 7156aa7 commit 46d0a8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export function start(
158158

159159
app.post('/tasks', (req, res, next) => taskController.create(req, res, next));
160160

161-
app.get('/tasks/metadata', (req, res, next) =>
161+
app.get('/task-metadata', (req, res, next) =>
162162
taskController.getTaskMetadata(req, res, next),
163163
);
164164

0 commit comments

Comments
 (0)