diff --git a/layouts/partials/blog-subscribe-form.html b/layouts/partials/blog-subscribe-form.html index 2ffab65..c68cb6e 100644 --- a/layouts/partials/blog-subscribe-form.html +++ b/layouts/partials/blog-subscribe-form.html @@ -76,7 +76,7 @@ body: JSON.stringify(data), }); const result = await response.json(); - this.formSent = result.status === 'ok'; + this.formSent = result.success === true; } else { await new Promise((resolve) => setTimeout(resolve, 2000)); console.log(data);