Commit 61626598 authored by Miguel Basticioto's avatar Miguel Basticioto
Browse files

fix: ajuste no json

parent 82a7066d
......@@ -7,7 +7,7 @@ defmodule NotificationDispatcher.Controller.NotificationMessageController do
def create(params) do
case NotificationsContext.create_notification_message(params) do
{:ok, notification_message} ->
{:ok, notification_message, "{\"data\": {\"id\": \"#{}\"}}"}
{:ok, notification_message, %{data: %{id:}}}
{:error, changeset} ->
{:error, changeset}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment