Commit Graph

5 Commits

Author SHA1 Message Date
Gusted b89242ee66
Refactoring
- Add extra code paths where `ctx` can be passed and used.
- Remove useless `id` path to get comment note.
- Add extra checks in note API.
- Use `ctx.ParamsInt64` to get the ID from the request.
- Handle `GetXXX` more gracefully by returning 404 when appropiate.
2023-01-13 15:53:46 +01:00
Anthony Wang 72247b8d49
Fix lint errors 2023-01-12 21:48:05 +00:00
Anthony Wang 58d937eb29
Fix swagger note endpoint typo 2023-01-01 18:44:44 +00:00
Anthony Wang 258fd151da
Fix lint errors 2022-12-31 17:58:01 +00:00
Anthony Wang f5a50ce457
Add Note object endpoint 2022-11-27 19:29:03 +00:00