context -> ctx

This commit is contained in:
Shadowfacts 2024-04-09 11:57:44 -04:00
parent b8b58b14a4
commit 496157e505
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ defmodule TuskerPushWeb.PushController do
{:body, {:ok, body, conn}} <- {:body, read_body(conn)},
{:salt, salt} when not is_nil(salt) <- get_salt(conn),
{:key, key} when not is_nil(key) <- get_key(conn),
context <- Map.get(params, "context"),
context <- Map.get(params, "ctx"),
{:forward, :ok} <- {:forward, Forwarder.forward(registration, body, salt, key, context)} do
send_resp(conn, 200, "ok")
else