change user endpoint to calandar
This commit is contained in:
@@ -44,10 +44,9 @@ func OAuthCallback(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
// Store the token securely
|
||||
if err := TestTokenStore.Save(token); err != nil {
|
||||
log.Printf("Failed to save token: %v", err)
|
||||
}
|
||||
|
||||
http.Redirect(w, r, "/user", http.StatusTemporaryRedirect)
|
||||
http.Redirect(w, r, "/calandar", http.StatusTemporaryRedirect)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user