daily merchant app login fix

This commit is contained in:
2026-09-11 11:10:25 +05:30
parent e7577fe0cf
commit 8cc567c89b
4 changed files with 47 additions and 15 deletions

View File

@@ -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"`
}