From 6e535276665108c5838eff7ea6bab9aa83daed49 Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Wed, 3 Nov 2021 17:17:33 +0200 Subject: [PATCH] Fixed init method for Offers service refs https://github.com/TryGhost/Ghost/commit/da152a0a1 The cleanup of the Offers labs flag inadvertently removed this logic. --- core/server/services/offers/service.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/server/services/offers/service.js b/core/server/services/offers/service.js index 37e2c44b55..66aa2a2f33 100644 --- a/core/server/services/offers/service.js +++ b/core/server/services/offers/service.js @@ -24,6 +24,8 @@ module.exports = { }); this.api = offersModule.api; + + await offersModule.init(); }, api: null,