mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
trying to fix api call to api/plan/trigger endpoint
This commit is contained in:
parent
ac9e1d3d9b
commit
94c99a7b5a
1 changed files with 3 additions and 1 deletions
|
|
@ -57,7 +57,9 @@ const useCreatePlan = ({
|
|||
trigger_file_path: fileKey,
|
||||
});
|
||||
|
||||
const response = fetch(`/api/plan/trigger`, {
|
||||
const url = process.env.URL + "/api/plan/trigger";
|
||||
|
||||
const response = fetch(url, {
|
||||
method: "POST",
|
||||
body: body,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue