Skip to content

Commit

Permalink
fix: private endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk committed Sep 27, 2022
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
Expand Up @@ -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
}
})
Expand Down

0 comments on commit 76c8215

Please sign in to comment.