Skip to content

Commit 0e55e56

Browse files
committed
fix: make id always available
1 parent 6c4ef3e commit 0e55e56

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ await connection.any(sql`
7171
WHERE
7272
code_alpha_2 = ${countryCode}
7373
`);
74-
```
74+
```

src/factories/createQueryCacheInterceptor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type Sandbox = {
2222
};
2323

2424
type CacheAttributes = {
25-
id?: string,
25+
id: string,
2626
ttl: number,
2727
};
2828

0 commit comments

Comments
 (0)