fix: properly send sse events

This commit is contained in:
guarzo
2025-07-12 22:43:49 +00:00
parent 63f13711cc
commit 9f6e6a333f
20 changed files with 1008 additions and 482 deletions

View File

@@ -354,7 +354,7 @@ defmodule WandererAppWeb.MapWebhooksAPIController do
do_create_webhook(conn, map_identifier, params)
end
end
defp do_create_webhook(conn, map_identifier, params) do
with {:ok, map} <- get_map(conn, map_identifier),
{:ok, webhook_params} <- validate_create_params(params, map.id) do