Skip to content

Commit

Permalink
rename account keys for user
Browse files Browse the repository at this point in the history
  • Loading branch information
asim committed Sep 27, 2022
1 parent aa928ac commit dae6465
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user/domain/store_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func generateAccountTenantKey(tenantId, userId string) string {
return fmt.Sprintf("%saccount/id/%s", getStoreKeyPrefixForTenent(tenantId), userId)
}
func generateAccountTenantEmailKey(tenantId, email string) string {
return fmt.Sprintf("%sacccount/email/%s", getStoreKeyPrefixForTenent(tenantId), email)
return fmt.Sprintf("%saccount/email/%s", getStoreKeyPrefixForTenent(tenantId), email)
}
func generateAccountTenantUsernameKey(tenantId, username string) string {
return fmt.Sprintf("%saccount/username/%s", getStoreKeyPrefixForTenent(tenantId), username)
Expand All @@ -47,7 +47,7 @@ func generateAccountStoreKey(ctx context.Context, userId string) string {
}

func generateAccountEmailStoreKey(ctx context.Context, email string) string {
return fmt.Sprintf("%sacccount/email/%s", getStoreKeyPrefix(ctx), email)
return fmt.Sprintf("%saccount/email/%s", getStoreKeyPrefix(ctx), email)
}

func generateAccountUsernameStoreKey(ctx context.Context, username string) string {
Expand Down

0 comments on commit dae6465

Please sign in to comment.