Skip to content

Commit e335615

Browse files
authored
docs: fix comment in README for Hook’s after method (open-feature#1103)
## This PR - Fixes incorrect comment in the README for the Hook implementation's `after` method. Signed-off-by: Christian Llontop <[email protected]>
1 parent d09f546 commit e335615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/server/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ import type { Hook, HookContext, EvaluationDetails, FlagValue } from "@openfeatu
383383

384384
export class MyHook implements Hook {
385385
after(hookContext: HookContext, evaluationDetails: EvaluationDetails<FlagValue>) {
386-
// code that runs when there's an error during a flag evaluation
386+
// code that runs after flag values are successfully resolved from the provider
387387
}
388388
}
389389
```

0 commit comments

Comments
 (0)