Skip to content

Commit

Permalink
Merge pull request #2706 from bomoko/feature/webhook_notifications
Browse files Browse the repository at this point in the history
Adds webhook notification to resolver type
Toby Bellwood authored Jun 18, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents cdc7ff9 + a3e9d7e commit d971949
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions services/api/src/resolvers.js
Original file line number Diff line number Diff line change
@@ -270,6 +270,7 @@ const resolvers = {
ROCKETCHAT: 'rocketchat',
MICROSOFTTEAMS: 'microsoftteams',
EMAIL: 'email',
WEBHOOK: 'webhook',
},
NotificationContentType: {
DEPLOYMENT: 'deployment',
3 changes: 0 additions & 3 deletions services/api/src/resources/notification/resolvers.ts
Original file line number Diff line number Diff line change
@@ -112,9 +112,6 @@ export const addNotificationToProject: ResolverFn = async (
unformattedInput
);

console.log(unformattedInput);
console.log(input);

const pid = await projectHelpers(sqlClientPool).getProjectIdByName(
input.project
);

0 comments on commit d971949

Please sign in to comment.