Skip to content

Commit

Permalink
Refactor utils
Browse files Browse the repository at this point in the history
  • Loading branch information
nkshah2 committed Oct 9, 2023
1 parent 75afe74 commit d40e848
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions lib/build/utils.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions lib/ts/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ export function normaliseInputAppInfoOrThrowError(appInfo: AppInfo): NormalisedA
if (appInfo.appName === undefined) {
throw new Error("Please provide your appName inside the appInfo object when calling supertokens.init");
}
if (appInfo.websiteDomain === undefined) {
throw new Error("Please provide your websiteDomain inside the appInfo object when calling supertokens.init");
}

let apiGatewayPath =
appInfo.apiGatewayPath !== undefined
? new NormalisedURLPath(appInfo.apiGatewayPath)
Expand Down

0 comments on commit d40e848

Please sign in to comment.