fix: fix desktop recipe url generation (#3209)
Co-authored-by: Alice Hau <ahau@squareup.com>
This commit is contained in:
@@ -119,7 +119,7 @@ function parseDeepLink(deepLink: string): Recipe | null {
|
||||
return null;
|
||||
}
|
||||
|
||||
const configJson = Buffer.from(configParam, 'base64').toString('utf-8');
|
||||
const configJson = Buffer.from(decodeURIComponent(configParam), 'base64').toString('utf-8');
|
||||
return JSON.parse(configJson) as Recipe;
|
||||
} catch (error) {
|
||||
console.error('Failed to parse deep link:', error);
|
||||
|
||||
Reference in New Issue
Block a user