fix(dm): missing api key call, and better logging on the post orders section
This commit is contained in:
@@ -14,7 +14,8 @@ export const postForecast = async (data: any, user: any) => {
|
||||
url: endpoint,
|
||||
method: "POST",
|
||||
headers: {
|
||||
Authorization: `Basic ${user.prod}`,
|
||||
"X-API-Key": process.env.TEC_API_KEY || "",
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
// if a body is sent over it would be like below
|
||||
data: data,
|
||||
|
||||
Reference in New Issue
Block a user