Skip to content

Commit

Permalink
Add fixTry another way
Browse files Browse the repository at this point in the history
  • Loading branch information
abador committed Oct 26, 2021
1 parent fea43c0 commit 27f317e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions selfservice/strategy/link/token_recovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type RecoveryToken struct {
// UpdatedAt is a helper struct field for gobuffalo.pop.
UpdatedAt time.Time `json:"-" faker:"-" db:"updated_at"`
// RecoveryAddressID is a helper struct field for gobuffalo.pop.
RecoveryAddressID uuid.UUID `json:"-" faker:"-" db:"identity_recovery_address_id"`
RecoveryAddressID *uuid.UUID `json:"-" faker:"-" db:"identity_recovery_address_id"`
// FlowID is a helper struct field for gobuffalo.pop.
FlowID uuid.NullUUID `json:"-" faker:"-" db:"selfservice_recovery_flow_id"`
NID uuid.UUID `json:"-" faker:"-" db:"nid"`
Expand All @@ -73,7 +73,7 @@ func NewSelfServiceRecoveryToken(address *identity.RecoveryAddress, f *recovery.
IssuedAt: now,
IdentityID: identityID,
FlowID: uuid.NullUUID{UUID: f.ID, Valid: true},
RecoveryAddressID: recoveryAddressID,
RecoveryAddressID: &recoveryAddressID,
}
}

Expand Down

0 comments on commit 27f317e

Please sign in to comment.