1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-07-15 23:54:29 +02:00

Refactor App lifecycle (#590)

* remove Server dep from App

* remove appbuilder
This commit is contained in:
Doug Lauder
2021-06-18 10:03:42 -04:00
committed by GitHub
parent ddfae3266a
commit edc3eb7e8f
5 changed files with 54 additions and 56 deletions

View File

@ -41,7 +41,7 @@ func (a *API) handleAdminSetPassword(w http.ResponseWriter, r *http.Request) {
return
}
err = a.app().UpdateUserPassword(username, requestData.Password)
err = a.app.UpdateUserPassword(username, requestData.Password)
if err != nil {
a.errorResponse(w, http.StatusInternalServerError, "", err)
return