Skip to content

Commit

Permalink
Add NRGAccount to account claims
Browse files Browse the repository at this point in the history
It is string format because it is quite likely that
we will extend the server in the future to be able to
move the traffic into a third named account.

For now expected values would be `"account"` or `"system"`.

Signed-off-by: Neil Twigg <[email protected]>

Make it a string instead
  • Loading branch information
neilalexander committed Aug 1, 2024
1 parent ff68a3b commit 270cc45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions v2/account_claims.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ type Account struct {
Mappings Mapping `json:"mappings,omitempty"`
Authorization ExternalAuthorization `json:"authorization,omitempty"`
Trace *MsgTrace `json:"trace,omitempty"`
NRGAccount string `json:"nrg_account,omitempty"`
Info
GenericFields
}
Expand Down

0 comments on commit 270cc45

Please sign in to comment.