diff --git a/packages/cache/src/stores/upstash-redis.ts b/packages/cache/src/stores/upstash-redis.ts index da40210fbb..781159fc81 100644 --- a/packages/cache/src/stores/upstash-redis.ts +++ b/packages/cache/src/stores/upstash-redis.ts @@ -38,7 +38,7 @@ export class UpstashRedisStore key: string, entry: Entry, ): Promise> { - this.redis.set>(this.buildCacheKey(namespace, key), entry, { + await this.redis.set>(this.buildCacheKey(namespace, key), entry, { pxat: entry.staleUntil, }); return Ok();