diff --git a/ts/textsecure/WebAPI.ts b/ts/textsecure/WebAPI.ts index 8e48982828d5..930c61519611 100644 --- a/ts/textsecure/WebAPI.ts +++ b/ts/textsecure/WebAPI.ts @@ -406,7 +406,7 @@ async function _promiseAjax( } else if (unauthenticated) { if (!accessKey) { throw new Error( - '_promiseAjax: mode is aunathenticated, but accessKey was not provided' + '_promiseAjax: mode is unauthenticated, but accessKey was not provided' ); } // Access key is already a Base64 string