We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dab4cf commit c165a08Copy full SHA for c165a08
components/highergov/sources/new-pursuit-added-instant/new-pursuit-added-instant.mjs
@@ -16,23 +16,13 @@ export default {
16
},
17
db: "$.service.db",
18
19
- methods: {
20
- emitEvent(event) {
21
- this.$emit(event, {
22
- id: event.opp_key,
23
- summary: `New pursuit added: ${event.title}`,
24
- ts: Date.parse(event.current_datetime),
25
- });
26
- },
27
28
hooks: {
29
async activate() {
30
- const hookId = await this.highergov.subscribeWebhook({
+ await this.highergov.subscribeWebhook({
31
data: {
32
target_url: this.http.endpoint,
33
34
});
35
- console.log("hookId: ", hookId);
36
37
async deactivate() {
38
await this.highergov.unsubscribeWebhook();
0 commit comments