Skip to content

Commit

Permalink
fix: private endpoints
Browse files Browse the repository at this point in the history
dnalborczyk committed Sep 27, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 10f0d8c commit 76c8215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/events/http/Http.js
Original file line number Diff line number Diff line change
@@ -36,10 +36,10 @@ export default class Http {
}

create(events) {
events.forEach(({ functionKey, handler, http, private: priv }) => {
events.forEach(({ functionKey, handler, http }) => {
this.#createEvent(functionKey, http, handler)

if (priv) {
if (http.private) {
this.#hasPrivateHttpEvent = true
}
})

0 comments on commit 76c8215

Please sign in to comment.