neiam
/apollos_crib
It's Apollo's Crib
public · Issues · Pulls 1 · Labels · Forks · Compare · Actions failure · Badges · Packages
⭐
Log in to mark this repository.
ugh.
e9be9f2 · gmorell · 2023-07-28 04:52
Files changed
modified
apps/room_gtfs/lib/room_gtfs/gtfs_worker.ex
+2
−2
@@ -473,7 +473,7 @@ defmodule RoomGtfs.Worker.Static do
| 473 | 473 | |> Enum.join(", ") |
| 474 | 474 | end |
| 475 | 475 | |
| 476 | − defp write_file(contents, type, id, via: :copy, pid) do | |
| 476 | + defp write_file(contents, type, id, pid, via: :copy) do | |
| 477 | 477 | datetime = NaiveDateTime.local_now() |
| 478 | 478 | Logger.info("GTFS::#{id} writing #{type} (c)") |
| 479 | 479 |
@@ -784,7 +784,7 @@ end
| 784 | 784 | bcast(state.id, file_to_atom(e.file_name), file_to_order(e.file_name), 9) |
| 785 | 785 | |
| 786 | 786 | Unzip.file_stream!(unzip, e.file_name) |
| 787 | − |> write_file(file_to_atom(e.file_name), state.id, via: :copy, state.pg_pid) | |
| 787 | + |> write_file(file_to_atom(e.file_name), state.id, state.pg_pid, via: :copy) | |
| 788 | 788 | |
| 789 | 789 | # bcast(state.id, :stop_times, 8, 9) |
| 790 | 790 | end |
Parents: e0601e2