Skip to content

A platform for community discussion. Free, open, simple.

DEV: Correct deprecation id for discovery-controller-shims (#24671)

David Tayloraba3acf4ccde
diff --git a/app/assets/javascripts/discourse/app/instance-initializers/discovery-controller-shims.js b/app/assets/javascripts/discourse/app/instance-initializers/discovery-controller-shims.js
index 135471ef6ef..1f6396dff36 100644
--- a/app/assets/javascripts/discourse/app/instance-initializers/discovery-controller-shims.js
+++ b/app/assets/javascripts/discourse/app/instance-initializers/discovery-controller-shims.js
@@ -11,7 +11,7 @@ function ControllerShim(resolverName, deprecationId) {
deprecated(
`${resolverName} no longer exists, and this shim will eventually be removed. To fetch information about the current discovery route, use the discovery service instead.`,
{
- deprecationId,
+ id: deprecationId,
}
);
}