DEV: Fix `key-value-store:main` deprecation (#11)

This commit is contained in:
Jarek Radosz 2022-08-13 22:40:11 +02:00 committed by GitHub
parent ba7ca9e588
commit faf88c2209
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
.discourse-compatibility Normal file
View File

@ -0,0 +1 @@
2.9.0.beta8: 1c4f5b1a99cfa610f13723bf0b3a5cf5c77e1ff4

View File

@ -122,7 +122,7 @@ export default {
}, },
initialize(container) { initialize(container) {
this.keyValueStore = container.lookup("key-value-store:main"); this.keyValueStore = container.lookup("service:key-value-store");
this.migrateCookiesToKeyValueStore(); this.migrateCookiesToKeyValueStore();
this.expireOldValues(); this.expireOldValues();