Closed GildedHonour closed 1 year ago
In documentation it's:
const projects = await client.projects.getAllProjects();
On the other hand:
The algorithm for using the library: client.<group>.<methodName>(parametersObject);
The algorithm for using the library:
client.<group>.<methodName>(parametersObject);
Shouldn't has it been const projects = await client.projects.get(); then?
const projects = await client.projects.get();
My question is: how do I delete a webhook or multiple webhooks?
client.webhooks.delete(1); //single value client.webhooks.delete([44, 55, 99]); //array
Is this correct?
And do I get a list of active webhooks?
client.webhooks.get()
or
client.webhooks.getAllWebhooks()
?
got it
In documentation it's:
On the other hand:
Shouldn't has it been
const projects = await client.projects.get();
then?My question is: how do I delete a webhook or multiple webhooks?
Is this correct?