added log
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled

This commit is contained in:
guwandyk committed 2026-09-28 16:53:34 +05:00
1 parent c01429d2a4
commit e47e8c24d0
7 files changed
+400 -21

No files matched your search

+6 -1
View File
@@ -133,7 +133,12 @@ func (h *handler) status(c *gin.Context) {
return
}
result, err := h.repository.Status(c.Request.Context(), id)
var requestedBy *int64
if userID, ok := rbac.CurrentUserID(c); ok {
requestedBy = &userID
}
result, err := h.repository.Status(c.Request.Context(), id, requestedBy)
if h.handleError(c, err, "status") {
return
}