From 496157e5050c113d2f8372bb638117838a3bead5 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Tue, 9 Apr 2024 11:57:44 -0400 Subject: [PATCH] context -> ctx --- lib/tusker_push_web/controllers/push_controller.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tusker_push_web/controllers/push_controller.ex b/lib/tusker_push_web/controllers/push_controller.ex index 09913c0..c6c2d09 100644 --- a/lib/tusker_push_web/controllers/push_controller.ex +++ b/lib/tusker_push_web/controllers/push_controller.ex @@ -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