[sever] Minor fixes in modify-storage endpoint (#5121)

## Description

## Tests
This commit is contained in:
Neeraj 2025-02-20 14:39:05 +05:30 committed by GitHub
commit d20615002c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -131,8 +131,9 @@ func (h *FamilyHandler) ModifyStorageLimit(c *gin.Context) {
err := h.Controller.ModifyMemberStorage(c, auth.GetUserID(c.Request.Header), request.ID, request.StorageLimit)
if err != nil {
handler.Error(c, stacktrace.Propagate(err, ""))
return
}
c.JSON(http.StatusOK, nil)
c.Status(http.StatusOK)
}
// GetInviteInfo returns basic information about invitor/admin as long as the invite is valid