@@ -89,10 +89,10 @@ func (s AccountService) ChangeEmail(ctx context.Context, identityID gid.GID, req
|
|||||||
return fmt.Errorf("cannot parse base URL: %w", err)
|
return fmt.Errorf("cannot parse base URL: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
confirmationUrl, err := base.
|
confirmationUrl := base.
|
||||||
WithPath("/auth/confirm-email").
|
WithPath("/auth/confirm-email").
|
||||||
WithQuery("token", confirmationToken).
|
WithQuery("token", confirmationToken).
|
||||||
String()
|
MustString()
|
||||||
|
|
||||||
return s.pg.WithTx(
|
return s.pg.WithTx(
|
||||||
ctx,
|
ctx,
|
||||||
|
|||||||
Reference in New Issue
Block a user