Skip to content

Conversation

@adityapat24
Copy link
Contributor

ℹ️ Issue

Closes #256

📝 Description

Added logger and swagger ui functionality for the grant module to improve documentation and make it easier to test routes

Briefly list the changes made to the code:

  1. Added logging statements to document how code is functioning in the grant modal and added purpose statements to all service methods.
  2. Documented routes in swagger.

✔️ Verification

Ensured grant routes showed up in http://localhost:3001/api#/

image

@adityapat24 adityapat24 linked an issue Jan 27, 2026 that may be closed by this pull request
Copy link
Collaborator

@prooflesben prooflesben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

create grant notifactions and update grant notifications have no logging

Make sure to put in 403 errors in the api responses as well. You can simlate this by not logging in and trying one of the routes for the example responses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DEV - Generate docs and log code for the grant module

3 participants