|
@@ -77,7 +77,7 @@ watch(() => appStore.altchaPayload, () => {
|
|
|
}, { immediate: false })
|
|
}, { immediate: false })
|
|
|
|
|
|
|
|
const submit = async () => {
|
|
const submit = async () => {
|
|
|
- const url = 'https://api.ogene.fr/api/id-card?payload=' + (appStore.altchaPayload ?? '');
|
|
|
|
|
|
|
+ const url = 'https://api.ogene.fr/api/id-card?payload=' + encodeURI(appStore.altchaPayload ?? '');
|
|
|
|
|
|
|
|
try {
|
|
try {
|
|
|
const response = await fetch(url, {
|
|
const response = await fetch(url, {
|