change user endpoint to calandar

This commit is contained in:
2026-08-06 20:25:44 -04:00
parent a0c57bd582
commit ec901d97c2
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"astraltech.xyz/calendar/v2/auth"
)
func handleUser(w http.ResponseWriter, r *http.Request) {
func HandleCalandarEndpoint(w http.ResponseWriter, r *http.Request) {
token, err := auth.TestTokenStore.Load()
if err != nil {
http.Error(w, "Not authenticated", http.StatusUnauthorized)