Remove load .env from bin path

This commit is contained in:
Illya Marchenko 2024-10-08 16:58:38 +03:00
parent 917d6d9103
commit 074c32a8f1
Signed by: stuzer05
GPG Key ID: A6ABAAA9268F9F4F

@ -60,13 +60,13 @@ func main() {
}
} else if len(*flagMonobankDoTransaction) > 0 {
var monobankTransaction monobank.WebHookResponse
err = json.Unmarshal([]byte(*flagMonobankDoTransaction), &monobankTransaction)
err := json.Unmarshal([]byte(*flagMonobankDoTransaction), &monobankTransaction)
if err != nil {
fmt.Println(err.Error())
os.Exit(1)
}
err := app.ImportTransaction(monobankTransaction)
err = app.ImportTransaction(monobankTransaction)
if err != nil {
fmt.Println(err.Error())
os.Exit(1)