Skip to content

Commit e552c15

Browse files
fix: settings
1 parent 86d2954 commit e552c15

File tree

1 file changed

+2
-2
lines changed
  • services/web/server/src/simcore_service_webserver/celery

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
from aiohttp import web
22
from settings_library.celery import CelerySettings
33

4-
from ..constants import APP_SETTINGS_KEY
4+
from ..application_keys import APP_SETTINGS_APPKEY
55

66

77
def get_plugin_settings(app: web.Application) -> CelerySettings:
8-
settings: CelerySettings | None = app[APP_SETTINGS_KEY].WEBSERVER_CELERY
8+
settings = app[APP_SETTINGS_APPKEY].WEBSERVER_CELERY
99
assert settings, "setup_settings not called?" # nosec
1010
assert isinstance(settings, CelerySettings) # nosec
1111
return settings

0 commit comments

Comments
 (0)