Skip to content

Commit

Permalink
Moved inside module
Browse files Browse the repository at this point in the history
  • Loading branch information
grahac committed Sep 24, 2024
1 parent e50df73 commit 3380a27
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/pigeon/fcm/notification.ex
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,13 @@ defmodule Pigeon.FCM.Notification do
data: data
}
end
end

def set_apns(%Pigeon.FCM.Notification{} = notification, apns) do
%{notification | apns: apns}
def set_apns(%Pigeon.FCM.Notification{} = notification, apns) do
%{notification | apns: apns}
end
end


defimpl Pigeon.Encodable, for: Pigeon.FCM.Notification do
def binary_payload(notif) do
encode_requests(notif)
Expand Down

0 comments on commit 3380a27

Please sign in to comment.