File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
notifications/lib/notifications/api Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,11 @@ defmodule Notifications.Api.PublicApi do
19
19
end
20
20
21
21
def create_notification ( notification , call ) do
22
+ IO . puts ( "CREATE NOTIFICATIONS PUBLIC" )
23
+ IO . inspect ( notification )
22
24
{ org_id , user_id } = extract_headers ( call )
25
+ IO . inspect ( org_id )
26
+ IO . inspect ( user_id )
23
27
24
28
Notifications.Api.PublicApi.Create . run ( notification , org_id , user_id )
25
29
end
Original file line number Diff line number Diff line change @@ -7,11 +7,8 @@ defmodule Notifications.Api.PublicApi.Create do
7
7
alias Notifications.Util.Validator
8
8
9
9
def run ( notification , org_id , user_id ) do
10
- IO . puts ( "PUBLIC API CREATE" )
11
- IO . inspect ( user_id )
12
- IO . inspect ( org_id )
10
+ IO . puts ( "Create Run public" )
13
11
IO . inspect ( notification )
14
-
15
12
name = notification . metadata . name
16
13
17
14
Logger . info ( "#{ inspect ( org_id ) } #{ inspect ( user_id ) } #{ name } " )
You can’t perform that action at this time.
0 commit comments