Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for gitlab and github #123

Merged
merged 16 commits into from
Nov 8, 2023
Merged
Prev Previous commit
Next Next commit
fixing bug1
  • Loading branch information
ArpitShukla12 committed Nov 8, 2023
commit e3c0d434e50d3951c426ee352715be7bba04559f
6 changes: 3 additions & 3 deletions adapters/api/segment.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ export async function sendSegmentEvent(action, body) {
`${ATLAN_INSTANCE_URL}/api/service/segment/track`,
requestOptions
)
.then(() => {
.then((resp) => {
console.log("Inside then", resp);
console.log("send segment event", action, body);
})
.catch((err) => {
console.log("OHHH NO", response);
console.log("Catch err", err);
console.log("couldn't send segment event", err);
});
console.log("inside ", response);
} else {
console.log("Wuttt");
console.log("send segment event", action, body);
Expand Down
6 changes: 3 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25392,14 +25392,14 @@ async function sendSegmentEvent(action, body) {
`${ATLAN_INSTANCE_URL}/api/service/segment/track`,
requestOptions
)
.then(() => {
.then((resp) => {
console.log("Inside then", resp);
console.log("send segment event", action, body);
})
.catch((err) => {
console.log("OHHH NO", response);
console.log("Catch err", err);
console.log("couldn't send segment event", err);
});
console.log("inside ", response);
} else {
console.log("Wuttt");
console.log("send segment event", action, body);
Expand Down
Loading