From 1afc202ba920362c05b933fea5aa52b1d09a374c Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Sat, 16 May 2026 19:31:09 -0400 Subject: [PATCH] chore(server): call SyncAllowedExtensions on startup --- cmd/server/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/server/main.go b/cmd/server/main.go index a09e5a3..f6455ac 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -70,6 +70,9 @@ func main() { // Create library service libraryService := services.NewLibraryService(queries) + // Sync Go AllowedExtensions into DB so API clients see correct extensions + libraryService.SyncAllowedExtensions(context.Background()) + // Create worker for background tasks worker := services.NewWorker(3, connManager) services.WorkerInstance = worker