change user endpoint to calandar
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user