mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-01 00:10:17 -05:00
fix: missing return statement
This commit is contained in:
@@ -97,6 +97,7 @@ func (g Graph) SetLinkPassword(w http.ResponseWriter, r *http.Request) {
|
||||
newPermission, err := g.updatePublicLinkPassword(ctx, permissionID, password.GetPassword())
|
||||
if err != nil {
|
||||
errorcode.RenderError(w, r, err)
|
||||
return
|
||||
}
|
||||
|
||||
render.Status(r, http.StatusOK)
|
||||
|
||||
Reference in New Issue
Block a user