Skip to content

Commit

Permalink
MWPW-142878 make line shorter
Browse files Browse the repository at this point in the history
  • Loading branch information
vhargrave committed Sep 19, 2024
1 parent 229a056 commit 87f8e46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/features/google-login.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ const onToken = async (getMetadata, data, getConfig) => {
let destination;
const config = getConfig();
try {
destination = new URL(typeof config.googleLoginURLCallback === 'function' ? await config.googleLoginURLCallback() : getMetadata('google-login-redirect'))?.href;
destination = new URL(typeof config.googleLoginURLCallback === 'function' ? await config.googleLoginURLCallback()
: getMetadata('google-login-redirect'))?.href;
} catch {
// Do nothing
}
Expand Down

0 comments on commit 87f8e46

Please sign in to comment.