Added uploading receipt photo to API

This commit is contained in:
2026-04-11 11:26:58 +03:00
parent 545b05d5a0
commit b66be96033
7 changed files with 455 additions and 4 deletions
+3
View File
@@ -55,6 +55,9 @@ func Load() (Config, error) {
}
}
if runMode == API || runMode == Standalone {
if ocrTokenPath == "" {
warnings = append(warnings, "Missing required environment variable: GOOGLE_APPLICATION_CREDENTIALS")
}
if apiSecret == "" {
warnings = append(warnings, "Missing required environment variable: API_SECRET")
}