Skip to content

Commit

Permalink
Fix gateway LISTMONK_INTERNAL_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
knpwrs committed Dec 5, 2024
1 parent c8ea2fd commit fd74c1e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions services/gateway/src/schema/types/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,10 +373,10 @@ builder.mutationFields((t) => ({
if (args.subscribeToNewsletter) {
const form = new FormData();
form.set('email', email);
await fetch(
envariant('VITE_LISTMONK_INTERNAL_URL') + '/subscription/form',
{ method: 'POST', body: form },
);
await fetch(envariant('LISTMONK_INTERNAL_URL') + '/subscription/form', {
method: 'POST',
body: form,
});
}

return user;
Expand Down

0 comments on commit fd74c1e

Please sign in to comment.