From a9aa95fcc0019d1b51a3b1bb25d7eaf035df1be3 Mon Sep 17 00:00:00 2001 From: Bert Ramirez <13988480+bertrmz@users.noreply.github.com> Date: Thu, 12 Dec 2024 13:03:41 -0600 Subject: [PATCH] fix: match error raised by new method (#123) match error raised by new method --- passageidentity/passage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passageidentity/passage.py b/passageidentity/passage.py index a1c2ed8..a721593 100644 --- a/passageidentity/passage.py +++ b/passageidentity/passage.py @@ -126,7 +126,7 @@ def createMagicLink( # noqa: N802 args.user_id = user_id args.channel = magic_link_attrs_dict.get("channel") or MagicLinkChannel.EMAIL else: - msg = "Could not create a magic link for this app: must provide one of: email, phone, user_id" + msg = "Could not create a magic link for this app: must provide one of: email, phone, userID" raise TypeError(msg) args.send = magic_link_attrs_dict.get("send") or False