fix: return empty props in single-user mode (#3691)

This commit is contained in:
Paul Esch-Laurent
2022-08-17 09:09:15 -06:00
committed by GitHub
parent b1b7897717
commit 68bf52cfcd
+1
View File
@@ -114,6 +114,7 @@ func (a *API) handleGetMe(w http.ResponseWriter, r *http.Request) {
Email: model.SingleUser,
CreateAt: ws.UpdateAt,
UpdateAt: now,
Props: map[string]interface{}{},
}
} else {
user, err = a.app.GetUser(userID)