Skip to content

Commit

Permalink
fixed test errors with the most updated code
Browse files Browse the repository at this point in the history
  • Loading branch information
luciafang committed Oct 22, 2024
1 parent 63b8868 commit c0a6128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/write/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ Write.reload = async (params) => {

setupApiRoute(router, 'get', '/api/v3/ping', writeControllers.utilities.ping.get);
setupApiRoute(router, 'post', '/api/v3/ping', writeControllers.utilities.ping.post);
setupApiRoute(router, 'put', '/api/v3/topics/:tid/resolved', writeControllers.topics.markResolved);
setupApiRoute(router, 'delete', '/api/v3/topics/:tid/resolved', writeControllers.topics.markUnresolved);
//setupApiRoute(router, 'put', '/api/v3/topics/:tid/resolved', writeControllers.topics.markResolved);

Check failure on line 51 in src/routes/write/index.js

View workflow job for this annotation

GitHub Actions / lint-and-test / test

Expected exception block, space or tab after '//' in comment
//setupApiRoute(router, 'delete', '/api/v3/topics/:tid/resolved', writeControllers.topics.markUnresolved);

Check failure on line 52 in src/routes/write/index.js

View workflow job for this annotation

GitHub Actions / lint-and-test / test

Expected exception block, space or tab after '//' in comment

/**
* Plugins can add routes to the Write API by attaching a listener to the
Expand Down

0 comments on commit c0a6128

Please sign in to comment.