profile name change

This commit is contained in:
2026-09-08 19:21:23 +05:30
parent 3853b84c9f
commit 62a441d798
3 changed files with 52 additions and 0 deletions

View File

@@ -57,6 +57,13 @@ type Tenantinfo struct {
Approved int `json:"approved"`
Moduleid int `json:"moduleid"`
Subcategoryname string `json:"subcategoryname"`
// The app category this store trades under, by name.
//
// `GetTenantByID` has always joined `app_category b` and selected
// `b.categoryname`, and the struct had nowhere to put it — so the value was
// computed on every read and discarded, leaving the console to print
// "Category 2" at a merchant who trades under Daily Needs.
Categoryname string `json:"categoryname"`
Firstname string `json:"firstname"`
Lastname string `json:"lastname"`
Accountname string `json:"Accountname"`