Compare commits

...

1 Commits

Author SHA1 Message Date
Adrian Zürcher
4b574d4486 fix wrong relation name 2026-02-16 22:00:25 +01:00

View File

@@ -207,7 +207,7 @@ func (aH *AccessHandler) UpdateUser(c *gin.Context) {
}
var currentUser models.User
err := aH.dbHandler.GetById(&currentUser, user.Id, "Role", "Workspace")
err := aH.dbHandler.GetById(&currentUser, user.Id, "Role", "Workspaces")
if err != nil {
aH.logger.Error("UpdateUser", err)
c.JSON(http.StatusInternalServerError, nil)