Skip to content

Commit

Permalink
put tree should not require id
Browse files Browse the repository at this point in the history
  • Loading branch information
rotsee committed Sep 24, 2023
1 parent b186dd6 commit 40cde02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const build = async function (opts = {}) {
fastify.get("/trees", getTrees)
fastify.get("/tree/:key", getTree)
fastify.delete("/tree/:key", deleteTree)
fastify.put("/tree/:key", putTree)
fastify.put("/tree", putTree)
fastify.post("/tree/:key", postTree)
fastify.get("/flags", flags)
fastify.post("/flag/:key/:flag", flag)
Expand Down

0 comments on commit 40cde02

Please sign in to comment.