mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-20 13:24:38 -04:00
incorporate requested changes
Signed-off-by: Christian Richter <crichter@owncloud.com>
This commit is contained in:
1 parent
c5d3b74cd4
commit
407238efa5
1 file changed
+1
-2
@@ -91,8 +91,7 @@ func (g Graph) GetMe(w http.ResponseWriter, r *http.Request) {
|
||||
preferedLanguage, _, err := getUserLanguage(r.Context(), g.valueService)
|
||||
if err != nil {
|
||||
logger.Error().Err(err).Msg("could not get user language")
|
||||
render.Status(r, http.StatusInternalServerError)
|
||||
render.JSON(w, r, me)
|
||||
errorcode.GeneralException.Render(w, r, http.StatusInternalServerError, "could not get user language")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user