mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-05 19:59:37 -06:00
graph sharing: delete link permission
Allow to delete link permissions (i.e. Public Shares)
This commit is contained in:
committed by
Ralf Haferkamp
parent
9d3523e310
commit
afb127090d
@@ -154,6 +154,10 @@ func (e Error) Error() string {
|
||||
return errString
|
||||
}
|
||||
|
||||
func (e Error) GetCode() ErrorCode {
|
||||
return e.errorCode
|
||||
}
|
||||
|
||||
// RenderError render the Graph Error based on a code or default one
|
||||
func RenderError(w http.ResponseWriter, r *http.Request, err error) {
|
||||
var errcode Error
|
||||
|
||||
Reference in New Issue
Block a user