Skip to content

Commit

Permalink
db route changed
Browse files Browse the repository at this point in the history
  • Loading branch information
qridwan committed Nov 12, 2023
1 parent c52dae1 commit f69ae5d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ app.use("/api/tags/", Middlewares.validateJWT, tags); //Tags
app.use("/api/category/", Middlewares.validateJWT, categories); //Categories
app.use("/api/notebooks/", Middlewares.validateJWT, notebooks); //Notebooks / Folder
app.use("/api/trash/", Middlewares.validateJWT, trash); //Trash box
app.get("/test", (req, res) => {
app.get("/db-ping", (req, res) => {
client
.select("*")
.from("notes")
Expand Down

0 comments on commit f69ae5d

Please sign in to comment.