This commit is contained in:
@@ -195,7 +195,8 @@
|
|||||||
|
|
||||||
if (scanValue.includes('?')) {
|
if (scanValue.includes('?')) {
|
||||||
const params = new URLSearchParams(scanValue.split('?')[1]);
|
const params = new URLSearchParams(scanValue.split('?')[1]);
|
||||||
return params.get('cardNum') || params.get('identifier') || '';
|
const queryValue = params.get('cardNum') || params.get('identifier');
|
||||||
|
if (queryValue) return queryValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
const match = scanValue.match(/=([^=]+)$/);
|
const match = scanValue.match(/=([^=]+)$/);
|
||||||
|
|||||||
Reference in New Issue
Block a user