working commit

This commit is contained in:
2026-02-07 15:47:52 +02:00
parent 4565e18e36
commit 517c518df2
4 changed files with 330 additions and 7 deletions
+2 -2
View File
@@ -216,7 +216,7 @@ type GetAccountParams struct {
AccountID string
}
type GetAccountResult struct {
AccountDescr *descr.AccountShortDescr
Account *descr.AccountShortDescr `json:"accountDescr"`
}
func (oper *Operator) GetAccount(ctx context.Context, params *GetAccountParams) (*GetAccountResult, error) {
@@ -260,6 +260,6 @@ func (oper *Operator) GetAccount(ctx context.Context, params *GetAccountParams)
accountShortDescr.Grants = append(accountShortDescr.Grants, grantShortDescrs)
}
res.AccountDescr = accountShortDescr
res.Account = accountShortDescr
return res, err
}