Skip to content

Commit

Permalink
Update notification instance action default accepts (#700)
Browse files Browse the repository at this point in the history
  • Loading branch information
skanderm authored Oct 30, 2024
1 parent ddf814b commit e87b753
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ defmodule Orcasite.Notifications.NotificationInstance do
end

actions do
defaults [:create, :read, :update, :destroy]
defaults [:read, :destroy, update: :*, create: :*]

create :create_with_relationships do
argument :subscription, :map
Expand Down
1 change: 1 addition & 0 deletions server/lib/orcasite/radio/audio_image.ex
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ defmodule Orcasite.Radio.AudioImage do
end

update :generate_spectrogram do
require_atomic? false
change set_attribute(:status, :processing)

change after_action(
Expand Down

0 comments on commit e87b753

Please sign in to comment.