mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 23:39:30 +00:00
[sever] Minor fixes in modify-storage endpoint (#5121)
## Description ## Tests
This commit is contained in:
commit
d20615002c
@ -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)
|
err := h.Controller.ModifyMemberStorage(c, auth.GetUserID(c.Request.Header), request.ID, request.StorageLimit)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
handler.Error(c, stacktrace.Propagate(err, ""))
|
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
|
// GetInviteInfo returns basic information about invitor/admin as long as the invite is valid
|
||||||
|
Loading…
x
Reference in New Issue
Block a user