Skip to content

Commit 06f5f30

Browse files
committed
add pk_ prefix infront of phone API key
1 parent f2e2d76 commit 06f5f30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/pkg/services/phone_api_key_service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func (service *PhoneAPIKeyService) Create(ctx context.Context, authContext entit
7070
UserEmail: authContext.Email,
7171
PhoneNumbers: nil,
7272
PhoneIDs: nil,
73-
APIKey: apiKey,
73+
APIKey: "pk_" + apiKey,
7474
CreatedAt: time.Now().UTC(),
7575
UpdatedAt: time.Now().UTC(),
7676
}

0 commit comments

Comments
 (0)