Compare commits

...

2 Commits

Author SHA1 Message Date
648fe10e10 Add comments 2026-01-24 20:50:36 +01:00
c7644f7df8 Disable register functionality 2026-01-24 20:50:29 +01:00
2 changed files with 3 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ func SetupRoutes(r *gin.Engine) {
// Public routes // Public routes
auth := r.Group("/auth") auth := r.Group("/auth")
{ {
auth.POST("/register", handlers.Register) // auth.POST("/register", handlers.Register)
auth.POST("/login", handlers.Login) auth.POST("/login", handlers.Login)
} }

View File

@@ -13,6 +13,8 @@ import (
"time" "time"
) )
// TODO: delete sheets
// TODO: if name is automatic, update when filename changed
func SyncSheets() error { func SyncSheets() error {
log.Println("Running library sync") log.Println("Running library sync")
syncStartTime := time.Now() syncStartTime := time.Now()