mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 11:12:35 +02:00
Several frontend components were using raw fetch() instead of the API client, causing 401 Unauthorized errors when authentication is enabled. Changes: - SpoolmanSettings: Use api.getSpoolmanSettings/updateSpoolmanSettings - ProjectsPage: Use api.importProjectFile for ZIP imports - ProjectDetailPage: Use api.exportProjectZip for exports - CameraPage/EmbeddedCameraViewer: Use api.getCameraStatus Added to API client: - getSpoolmanSettings() - updateSpoolmanSettings() - importProjectFile() - exportProjectZip() - getCameraStatus() Added tests for auth token handling in client.test.ts Fixed VirtualPrinterSettings test expectations to match i18n strings Closes #231