diff --git a/internal/client-go/model_identity_credentials_code.go b/internal/client-go/model_identity_credentials_code.go index b3a2914dec14..f542b359639a 100644 --- a/internal/client-go/model_identity_credentials_code.go +++ b/internal/client-go/model_identity_credentials_code.go @@ -16,7 +16,7 @@ import ( "time" ) -// IdentityCredentialsCode CredentialsCode represents a one time login/registraiton code +// IdentityCredentialsCode CredentialsCode represents a one time login/registration code type IdentityCredentialsCode struct { AddressType *string `json:"address_type,omitempty"` UsedAt NullableTime `json:"used_at,omitempty"` diff --git a/internal/httpclient/model_identity_credentials_code.go b/internal/httpclient/model_identity_credentials_code.go index b3a2914dec14..f542b359639a 100644 --- a/internal/httpclient/model_identity_credentials_code.go +++ b/internal/httpclient/model_identity_credentials_code.go @@ -16,7 +16,7 @@ import ( "time" ) -// IdentityCredentialsCode CredentialsCode represents a one time login/registraiton code +// IdentityCredentialsCode CredentialsCode represents a one time login/registration code type IdentityCredentialsCode struct { AddressType *string `json:"address_type,omitempty"` UsedAt NullableTime `json:"used_at,omitempty"` diff --git a/selfservice/flow/verification/handler_test.go b/selfservice/flow/verification/handler_test.go index 33da0e2a204e..6eb2b12f800b 100644 --- a/selfservice/flow/verification/handler_test.go +++ b/selfservice/flow/verification/handler_test.go @@ -229,8 +229,7 @@ func TestPostFlow(t *testing.T) { IdentityID: uuid.NullUUID{UUID: uuid.Must(uuid.NewV4()), Valid: true}, AMR: session.AuthenticationMethods{{Method: identity.CredentialsTypePassword}}, }, - SessionID: uuid.NullUUID{UUID: s.ID, Valid: true}, - State: flow.StatePassedChallenge, + State: flow.StatePassedChallenge, } require.NoError(t, reg.VerificationFlowPersister().CreateVerificationFlow(ctx, f)) diff --git a/spec/api.json b/spec/api.json index 596ab6ab9984..005fef8d643d 100644 --- a/spec/api.json +++ b/spec/api.json @@ -910,7 +910,7 @@ "type": "object" }, "identityCredentialsCode": { - "description": "CredentialsCode represents a one time login/registraiton code", + "description": "CredentialsCode represents a one time login/registration code", "properties": { "address_type": { "$ref": "#/components/schemas/CodeAddressType" diff --git a/spec/swagger.json b/spec/swagger.json index 63e280fc3da5..368785b299a8 100755 --- a/spec/swagger.json +++ b/spec/swagger.json @@ -3865,7 +3865,7 @@ } }, "identityCredentialsCode": { - "description": "CredentialsCode represents a one time login/registraiton code", + "description": "CredentialsCode represents a one time login/registration code", "type": "object", "properties": { "address_type": {