Skip to content

Commit

Permalink
Allow nil default event_type in index filter. Remove unused format da…
Browse files Browse the repository at this point in the history
…te function
  • Loading branch information
skanderm committed Mar 11, 2024
1 parent f8ef4e8 commit 894a029
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions server/lib/orcasite/notifications/resources/job.ex
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ defmodule Orcasite.Notifications.Job do

argument :event_type, :atom do
constraints one_of: Orcasite.Notifications.Event.types()
default :confirmed_candidate
end

filter expr(
Expand Down Expand Up @@ -122,8 +121,4 @@ defmodule Orcasite.Notifications.Job do
|> Map.get("meta")
|> Jason.encode!()
end

def format_date(date) do
Calendar.strftime(date, "%m/%d %H:%M:%S %Z")
end
end

0 comments on commit 894a029

Please sign in to comment.