From 0e60b5dea4f9a53775d58affbf71e6b54db51a36 Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Mon, 16 Sep 2019 15:58:10 +0800 Subject: [PATCH] Updated members service usage of members-ssr@0.5.0 no-issue members-ssr@0.5.0 changed the `membersApi` param with `getMembersApi` --- core/server/services/members/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/server/services/members/index.js b/core/server/services/members/index.js index e605e6c1c1..53daf7fb1b 100644 --- a/core/server/services/members/index.js +++ b/core/server/services/members/index.js @@ -44,9 +44,7 @@ const membersService = { cookieKeys: [settingsCache.get('theme_session_secret')], cookieName: 'ghost-members-ssr', cookieCacheName: 'ghost-members-ssr-cache', - // This is passed as a function so that updates to the instance - // are picked up in the ssr module - membersApi: () => membersApi + getMembersApi: () => membersService.api }) };