Updated members service usage of members-ssr@0.5.0

no-issue

members-ssr@0.5.0 changed the `membersApi` param with `getMembersApi`
This commit is contained in:
Fabien O'Carroll 2019-09-16 15:58:10 +08:00
parent 531e217b82
commit 0e60b5dea4

View File

@ -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
})
};