daily merchant app login fix
This commit is contained in:
@@ -101,4 +101,11 @@ type TenantUserInfo struct {
|
||||
Categoryname string `json:"categoryname"`
|
||||
Subcategoryid int `json:"subcategoryid"`
|
||||
Issuperadmin bool `json:"issuperadmin"`
|
||||
// Carried so this response is a SUPERSET of what `UserInfo` returned.
|
||||
// `/mob/users/tenant/login` used to answer with UserInfo, and a shipped app
|
||||
// may read any of these three; dropping them while repointing the route
|
||||
// would have been a breaking change disguised as a fix.
|
||||
Shiftid int `json:"shiftid"`
|
||||
Shiftname string `json:"shiftname"`
|
||||
Status string `json:"status"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user