From 8befa0468ab7d84aa24eb6afb23920724b6c859c Mon Sep 17 00:00:00 2001 From: dnalborczyk Date: Sat, 1 Oct 2022 13:26:00 -0400 Subject: [PATCH] fix: add to set --- src/events/http/HttpServer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/http/HttpServer.js b/src/events/http/HttpServer.js index bb5a4cf63..fb711e4a1 100644 --- a/src/events/http/HttpServer.js +++ b/src/events/http/HttpServer.js @@ -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}`) }