Skip to content

Commit

Permalink
Merge pull request #47 from Black-Sirius69/master
Browse files Browse the repository at this point in the history
feat: sheets service
  • Loading branch information
Mr-Emerald-Wolf committed Mar 16, 2024
2 parents 9242fa4 + b652882 commit 9cef1ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/controllers/user_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,10 @@ func CompleteProfile(ctx echo.Context) error {
})
}

// err = services.WriteUserToGoogleSheet(*user)
// if err != nil {
// slog.Error(err.Error())
// }
err = services.WriteUserToGoogleSheet(user.User)
if err != nil {
slog.Error(err.Error())
}

return ctx.JSON(http.StatusOK, map[string]string{
"message": "user profile updated",
Expand Down

0 comments on commit 9cef1ec

Please sign in to comment.