memberState -> sessionState.

This commit is contained in:
Miroslav Šedivý 2021-03-13 23:42:16 +01:00
parent b03a730c84
commit dafebc79e5
8 changed files with 26 additions and 25 deletions

View file

@ -21,7 +21,7 @@ type SessionLoginPayload struct {
type SessionWhoamiPayload struct {
ID string `json:"id"`
Profile types.MemberProfile `json:"profile"`
State types.MemberState `json:"state"`
State types.SessionState `json:"state"`
}
func (api *ApiManagerCtx) Login(w http.ResponseWriter, r *http.Request) {