Skip to content

Commit 1bd5353

Browse files
committed
Fix the userID param in swager file
1 parent 620419c commit 1bd5353

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

api/pkg/handlers/user_handler.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ func (h *UserHandler) Update(c *fiber.Ctx) error {
127127
// @Tags Users
128128
// @Accept json
129129
// @Produce json
130-
// @Param payload body requests.UserNotificationUpdate true "Payload of user notification details to update"
130+
// @Param userID path string true "ID of the user to update" default(32343a19-da5e-4b1b-a767-3298a73703ca)
131+
// @Param payload body requests.UserNotificationUpdate true "User notification details to update"
131132
// @Success 200 {object} responses.UserResponse
132133
// @Failure 400 {object} responses.BadRequest
133134
// @Failure 401 {object} responses.Unauthorized

0 commit comments

Comments
 (0)