refreshToken中的小错误
This commit is contained in:
parent
5cdbcb0e30
commit
73983fcef0
|
|
@ -1334,7 +1334,10 @@ export async function refreshToken(params, context) {
|
|||
const { env, tokenValue } = params;
|
||||
const fn = context.openRootMode();
|
||||
let [token] = await context.select('token', {
|
||||
data: tokenProjection,
|
||||
data: Object.assign({
|
||||
env: 1,
|
||||
...tokenProjection,
|
||||
}),
|
||||
filter: {
|
||||
value: tokenValue,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1348,7 +1348,10 @@ async function refreshToken(params, context) {
|
|||
const { env, tokenValue } = params;
|
||||
const fn = context.openRootMode();
|
||||
let [token] = await context.select('token', {
|
||||
data: Projection_1.tokenProjection,
|
||||
data: Object.assign({
|
||||
env: 1,
|
||||
...Projection_1.tokenProjection,
|
||||
}),
|
||||
filter: {
|
||||
value: tokenValue,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1900,7 +1900,10 @@ export async function refreshToken<
|
|||
const { env, tokenValue } = params;
|
||||
const fn = context.openRootMode();
|
||||
let [ token ] = await context.select('token', {
|
||||
data: tokenProjection,
|
||||
data: Object.assign({
|
||||
env: 1,
|
||||
...tokenProjection,
|
||||
}),
|
||||
filter: {
|
||||
value: tokenValue,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue