Commit b13e34f8 authored by IanShaw027's avatar IanShaw027
Browse files

fix(ci): align auth and payment verification tests

parent 6d51834a
...@@ -183,10 +183,6 @@ type UpsertUserAvatarInput struct { ...@@ -183,10 +183,6 @@ type UpsertUserAvatarInput struct {
SHA256 string SHA256 string
} }
type userAuthIdentityReader interface {
ListUserAuthIdentities(ctx context.Context, userID int64) ([]UserAuthIdentityRecord, error)
}
type userProfileIdentityTxRunner interface { type userProfileIdentityTxRunner interface {
WithUserProfileIdentityTx(ctx context.Context, fn func(txCtx context.Context) error) error WithUserProfileIdentityTx(ctx context.Context, fn func(txCtx context.Context) error) error
} }
...@@ -812,17 +808,6 @@ func maskOpaqueIdentity(value string) string { ...@@ -812,17 +808,6 @@ func maskOpaqueIdentity(value string) string {
} }
} }
func cloneAnyMap(values map[string]any) map[string]any {
if len(values) == 0 {
return map[string]any{}
}
cloned := make(map[string]any, len(values))
for key, value := range values {
cloned[key] = value
}
return cloned
}
// ChangePassword 修改密码 // ChangePassword 修改密码
// Security: Increments TokenVersion to invalidate all existing JWT tokens // Security: Increments TokenVersion to invalidate all existing JWT tokens
func (s *UserService) ChangePassword(ctx context.Context, userID int64, req ChangePasswordRequest) error { func (s *UserService) ChangePassword(ctx context.Context, userID int64, req ChangePasswordRequest) error {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment