mirror of
https://github.com/ente-io/ente.git
synced 2025-08-07 23:18:10 +00:00
[server] Return on err
This commit is contained in:
parent
d78ffced78
commit
09d390bd38
@ -131,6 +131,7 @@ 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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user