Skip to content

Commit

Permalink
Update endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed May 11, 2023
1 parent 1f76e41 commit 5734dd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/scraper/src/main.ts
Expand Up @@ -202,7 +202,7 @@ async function submitBrand(data: any) {
};

try {
await axios.post(`${API_SERVER}/brands`, data, {
await axios.post(`${API_SERVER}/entities`, data, {
headers,
});
} catch (err: any) {
Expand All @@ -224,7 +224,7 @@ async function submitDistiller(data: any) {
};

try {
await axios.post(`${API_SERVER}/distillers`, data, {
await axios.post(`${API_SERVER}/entities`, data, {
headers,
});
} catch (err: any) {
Expand Down

0 comments on commit 5734dd7

Please sign in to comment.