Skip to content

Commit ed782e2

Browse files
committed
patch not verified
1 parent 84609ec commit ed782e2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

packages/core/src/codewhisperer/region/regionProfileManager.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,11 @@ export class RegionProfileManager {
6363
private readonly cache = new (class extends CachedResource<RegionProfile[]> {
6464
constructor(private readonly profileProvider: () => Promise<RegionProfile[]>) {
6565
super('aws.amazonq.regionProfiles.cache', 60000, {
66-
locked: false,
67-
timestamp: 0,
68-
result: undefined,
66+
resource: {
67+
locked: false,
68+
timestamp: 0,
69+
result: undefined,
70+
},
6971
})
7072
}
7173

0 commit comments

Comments
 (0)