Added uploading receipt photo to API
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user