Skip to content

Commit

Permalink
hotfix for json representation
Browse files Browse the repository at this point in the history
  • Loading branch information
vmidyllic committed Jan 14, 2022
1 parent 4aa706b commit ae11df8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions communication/auth/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import (

// UserToken is token that can be used for user authorization
type UserToken struct {
ID string `json:"id"`
Challenge string `json:"challenge"`
State string `json:"state"`
Scope map[string]map[string]interface{}
ID string `json:"id"`
Challenge string `json:"challenge"`
State string `json:"state"`
Scope map[string]map[string]interface{} `json:"scope"`
}

// Update adds new metadata to user token
Expand Down
2 changes: 1 addition & 1 deletion types/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ type CredentialFetchRequest struct {

// CredentialFetchRequestMessageData is struct the represents credential fetch request data
type CredentialFetchRequestMessageData struct {
ClaimID string `json:"claimID"`
ClaimID string `json:"claim_id"`
Schema string `json:"schema"`
Scope []interface{} `json:"scope"`
}
Expand Down

0 comments on commit ae11df8

Please sign in to comment.