From 909785e28595dbb237467bde55c92069e4d196cc Mon Sep 17 00:00:00 2001 From: Christian Paul Date: Mon, 9 Jan 2023 14:54:25 +0100 Subject: [PATCH] Fix typo: Failed to exchnage the token (#456) * Fix typo: Failed to exchnage the token * Add newsfile 456 * Rename 456 to 456.misc * Update 456.misc * Update 456.misc --- changelog.d/456.misc | 1 + src/provisioning/api.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/456.misc diff --git a/changelog.d/456.misc b/changelog.d/456.misc new file mode 100644 index 00000000..a37f8c85 --- /dev/null +++ b/changelog.d/456.misc @@ -0,0 +1 @@ +Fix typo in warning message: "Failed to exchnage the token". diff --git a/src/provisioning/api.ts b/src/provisioning/api.ts index 3ba7ba1b..0a7dda91 100644 --- a/src/provisioning/api.ts +++ b/src/provisioning/api.ts @@ -390,7 +390,7 @@ export class ProvisioningApi { res.send({ token, userId }); } catch (ex) { - log.warn(`Failed to exchnage the token for ${server}`, ex); + log.warn(`Failed to exchange the token for ${server}`, ex); throw new ApiError("Failed to exchange token", ErrCode.BadOpenID); } }