Update +page.svelte
This commit is contained in:
parent
7c640b2a76
commit
7683dbcae3
1 changed files with 1 additions and 0 deletions
|
|
@ -97,6 +97,7 @@
|
||||||
await loadPromoCodes();
|
await loadPromoCodes();
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
console.log(error)
|
||||||
createSuccess = false;
|
createSuccess = false;
|
||||||
createMessage = 'Failed to create promo code. Please try again.';
|
createMessage = 'Failed to create promo code. Please try again.';
|
||||||
hasCreateResult = true;
|
hasCreateResult = true;
|
||||||
|
|
|
||||||
Reference in a new issue