imma call it a night

This commit is contained in:
Peder Vatn Austad
2024-12-26 19:38:28 +01:00
parent db7485d140
commit 5fd16ff73c
5 changed files with 14 additions and 10 deletions

View File

@@ -140,7 +140,9 @@ func DBData(data *data.Data) {
if err != nil {
fmt.Printf("Error inserting/updating estimated vehicle journey: %v\n", err)
} else {
fmt.Printf("Action: %s, ID: %d\n", action, id)
if 1 == 0 {
fmt.Printf("Action: %s, ID: %d\n", action, id)
}
}
for _, estimatedCall := range journey.EstimatedCalls {
for _, call := range estimatedCall.EstimatedCall {
@@ -266,7 +268,9 @@ func DBData(data *data.Data) {
if err != nil {
fmt.Printf("Error inserting/updating estimated call: %v\n", err)
} else {
fmt.Printf("Action: %s, ID: %d\n", action, id)
if 1 == 0 {
fmt.Printf("Action: %s, ID: %d\n", action, id)
}
}
}
}