Skip to content

Commit c5b2c22

Browse files
committed
add await
1 parent 25b47d0 commit c5b2c22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ async function init(prettyPrint: boolean = false, initClients: boolean = true) {
291291
app.redisClient = new RedisModule.default(app.secretConfig.redis_url);
292292
}
293293
if (isRunningInLambda) {
294-
app.register(fastifyIp.FastifyIP, {
294+
await app.register(fastifyIp.FastifyIP, {
295295
order: ["x-forwarded-for"],
296296
strict: true,
297297
isAWS: false,

0 commit comments

Comments
 (0)