UPDATE: Fix bug
All checks were successful
Build and Release / release (push) Successful in 1m11s

This commit is contained in:
2026-04-27 23:41:41 +07:00
parent 17aafacbfd
commit b168a343be
2 changed files with 20 additions and 4 deletions

View File

@@ -447,6 +447,10 @@ func (a *authService) SigninWithGoogle(ctx context.Context, dto *request.SigninW
if err != nil {
return nil, fiber.NewError(fiber.StatusInternalServerError, "Failed to update refresh token")
}
err = tx.Commit(ctx)
if err != nil {
return nil, fiber.NewError(fiber.StatusInternalServerError, "Failed to commit Google signin")
}
return data, nil
}