MCPcopy Create free account
hub / github.com/DavidWells/analytics / makeCustifyRequest

Function makeCustifyRequest

packages/analytics-plugin-custify/src/node.js:60–71  ·  view source on GitHub ↗
(apiKey, endpoint, method, data)

Source from the content-addressed store, hash-verified

58}
59
60function makeCustifyRequest(apiKey, endpoint, method, data) {
61 const custifyUrl = 'https://api.custify.com'
62
63 return fetch(`${custifyUrl}/${endpoint}`, {
64 method,
65 headers: {
66 "Content-Type": "application/json",
67 'Authorization': `Bearer ${apiKey}`,
68 },
69 body: JSON.stringify(data),
70 });
71}
72
73export default custifyPlugin

Callers 1

custifyPluginFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected