mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-03 21:53:12 -04:00
Merge branch 'autoincrement-index' of github.com:owncloud/ocis into autoincrement-index
This commit is contained in:
@@ -17,7 +17,7 @@ import (
|
||||
func (o Ocs) ListUserGroups(w http.ResponseWriter, r *http.Request) {
|
||||
userid := chi.URLParam(r, "userid")
|
||||
|
||||
account, err := o.getAccountService().GetAccount(r.Context(), &accounts.GetAccountRequest{Id: userid})
|
||||
account, err := o.fetchAccountByUsername(r.Context(), userid)
|
||||
|
||||
if err != nil {
|
||||
merr := merrors.FromError(err)
|
||||
|
||||
Reference in New Issue
Block a user