Skip to content

Commit

Permalink
fix: add to set
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk committed Oct 1, 2022
1 parent 5d9d769 commit 8befa04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events/http/HttpServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ export default class HttpServer {
this.#serverless.service.provider.apiGateway?.apiKeys ?? [],
)

this.#apiKeysValues.push(apiKey)
this.#apiKeysValues.add(apiKey)

log.notice(`Key with token: ${apiKey}`)
}
Expand Down

0 comments on commit 8befa04

Please sign in to comment.