Skip to content

Commit 238ea28

Browse files
committed
Add http response to webhook
1 parent 9539593 commit 238ea28

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

components/quickbooks/sources/common.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ module.exports = {
8484
} = entity;
8585
const relevantEntities = this.getEntities();
8686
const relevantOperations = this.getOperations();
87-
87+
8888
// only emit events that match the entity names and operations indicated by the user
8989
// but if the props are left empty, emit all events rather than filtering them all out
9090
// (it would a hassle for the user to select every option if they wanted to emit everything)
@@ -161,6 +161,10 @@ module.exports = {
161161
return;
162162
}
163163

164+
this.http.respond({
165+
status: 200,
166+
});
167+
164168
return this.processEvent(event);
165169
},
166170
};

0 commit comments

Comments
 (0)