refactor(placetel): Remove redundant header variable
This commit is contained in:
@@ -94,10 +94,6 @@ export default defineTrigger({
|
|||||||
numbers,
|
numbers,
|
||||||
};
|
};
|
||||||
|
|
||||||
const headers = {
|
|
||||||
'Content-Type': 'application/json',
|
|
||||||
};
|
|
||||||
|
|
||||||
const { data } = await $.http.put('/v2/subscriptions', subscriptionPayload);
|
const { data } = await $.http.put('/v2/subscriptions', subscriptionPayload);
|
||||||
|
|
||||||
await $.flow.setRemoteWebhookId(data.id);
|
await $.flow.setRemoteWebhookId(data.id);
|
||||||
|
Reference in New Issue
Block a user