mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Updated layer1 to pass fresh param to gateway
no-issue This is needed so that we can request a brand new token from layer1, in the instance of knowing user data has changed, we can have a token whihc reflects it.
This commit is contained in:
parent
5dfcbb6b5e
commit
709a1cce4e
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@ module.exports = function layer1(options) {
|
|||
});
|
||||
});
|
||||
|
||||
function getToken({audience}) {
|
||||
return loadGateway.then(gatewayFn('getToken', {audience}));
|
||||
function getToken({audience, fresh}) {
|
||||
return loadGateway.then(gatewayFn('getToken', {audience, fresh}));
|
||||
}
|
||||
|
||||
function signout() {
|
||||
|
|
Loading…
Add table
Reference in a new issue