deco-cx / deco-cx/apps

Notifyme action domain is being added as vtexcommercestable

Open
#880 0 comments 0 reactions 0 assignees View on GitHub
triage vtex
Dominant language
TypeScript
Stars
28
Forks
30
Avg merge
1d 16h
Merged PRs (30d)
4

Description

## Issue Type

Bug Report

## Description

When a site uses our action notifyme, because we fetch the vtexcommercestable API, when vtex trigger the e-mail, the button of the product in the email is with vtexcommercestable domain.

## Expected Behavior

As we proxy ``/no-cache/*`` route, I think we can fetch:

instead of:
```await vcsDeprecated["POST /no-cache/AviseMe.aspx"]({}, { body: form });```

something like:
```fetch(`${req.url}/no-cache`)```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.