fix: missing return statement
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
Bugfix: Password policy return code was wrong
|
||||||
|
|
||||||
|
We fixed the status code on SharingNG update permissions for public shares.
|
||||||
|
|
||||||
|
https://github.com/owncloud/ocis/pull/7952
|
||||||
@@ -97,6 +97,7 @@ func (g Graph) SetLinkPassword(w http.ResponseWriter, r *http.Request) {
|
|||||||
newPermission, err := g.updatePublicLinkPassword(ctx, permissionID, password.GetPassword())
|
newPermission, err := g.updatePublicLinkPassword(ctx, permissionID, password.GetPassword())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
errorcode.RenderError(w, r, err)
|
errorcode.RenderError(w, r, err)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
render.Status(r, http.StatusOK)
|
render.Status(r, http.StatusOK)
|
||||||
|
|||||||
Reference in New Issue
Block a user