Skip to content

Commit c96783d

Browse files
committed
feat: invalidate etag on context change
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
1 parent ca3c16a commit c96783d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

libs/providers/ofrep-web/src/lib/ofrep-web-provider.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ export class OFREPWebProvider implements Provider {
133133
*/
134134
async onContextChange(oldContext: EvaluationContext, newContext: EvaluationContext): Promise<void> {
135135
try {
136+
this._etag = null; // reset etag to force refetch
136137
this._context = newContext;
137138

138139
const now = new Date();

0 commit comments

Comments
 (0)