feat(annotation.js): Konfigurierte Beschriftungen
This commit is contained in:
@@ -11,9 +11,9 @@ public class ConfigController : ControllerBase
|
||||
{
|
||||
private readonly AnnotationParams _annotParams;
|
||||
|
||||
public ConfigController(IOptions<AnnotationParams> annotationParamsOptions)
|
||||
public ConfigController(IOptionsMonitor<AnnotationParams> annotationParamsOptions)
|
||||
{
|
||||
_annotParams = annotationParamsOptions.Value;
|
||||
_annotParams = annotationParamsOptions.CurrentValue;
|
||||
}
|
||||
|
||||
[HttpGet("Annotations")]
|
||||
|
||||
Reference in New Issue
Block a user