From 073494a6bc911548752ede3b12fed124144f10dd Mon Sep 17 00:00:00 2001 From: Laura Beatris <48022589+LauraBeatris@users.noreply.github.com> Date: Tue, 12 Dec 2023 10:13:18 -0300 Subject: [PATCH] Fix `send_session` route from Magic Link --- lib/workos/passwordless.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/workos/passwordless.ex b/lib/workos/passwordless.ex index 6dc31a3..c6ec48a 100644 --- a/lib/workos/passwordless.ex +++ b/lib/workos/passwordless.ex @@ -50,7 +50,7 @@ defmodule WorkOS.Passwordless do WorkOS.Client.post( client, Send, - "/passwordless/sessions/:id", + "/passwordless/sessions/:id/send", %{}, opts: [ path_params: [id: session_id]