async
(params, auths) => {
}
return await require("@pipedreamhq/platform").axios(this, {
method: "post",
url: `https://api-ssl.bitly.com/v4/shorten`,
headers: {
Authorization: `Bearer ${auths.bitly.oauth_access_token}`,
"Content-Type": `application/json`,
},
data: {
long_url: params.long_url,
domain: params.domain,
//
}
})