added user it for prod test - to remove later
This commit is contained in:
parent
565378f845
commit
841900e781
@ -129,8 +129,7 @@ export function getCashierConfig(): ICashierConfig {
|
|||||||
|
|
||||||
const userId = params.get('userId');
|
const userId = params.get('userId');
|
||||||
if (userId) {
|
if (userId) {
|
||||||
// Use userId from URL remove for production
|
config.userId = userId;
|
||||||
config.userId = '12345';
|
|
||||||
} else if (import.meta.env.DEV) {
|
} else if (import.meta.env.DEV) {
|
||||||
// Development fallback: use a default numeric userId for testing
|
// Development fallback: use a default numeric userId for testing
|
||||||
// The API expects customer ID to be a numeric value
|
// The API expects customer ID to be a numeric value
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user