mirror of
https://github.com/PretendoNetwork/account.git
synced 2026-08-23 19:24:07 -05:00
fix: make tokenType use the token type, not system type
This commit is contained in:
@@ -110,7 +110,7 @@ export async function exchangeIndependentServiceTokenForUserData(request: Exchan
|
||||
},
|
||||
tokenInfo: {
|
||||
systemType: serviceToken.info.system_type as any, // TODO - Stop the any usage
|
||||
tokenType: serviceToken.info.system_type as any, // TODO - Stop the any usage
|
||||
tokenType: serviceToken.info.token_type as any, // TODO - Stop the any usage
|
||||
pid: BigInt(pnid.pid),
|
||||
accessLevel: pnid.access_level,
|
||||
titleId: serviceToken.info.title_id,
|
||||
@@ -136,7 +136,7 @@ export async function exchangeIndependentServiceTokenForUserData(request: Exchan
|
||||
},
|
||||
tokenInfo: {
|
||||
systemType: serviceToken.info.system_type as any, // TODO - Stop the any usage
|
||||
tokenType: serviceToken.info.system_type as any, // TODO - Stop the any usage
|
||||
tokenType: serviceToken.info.token_type as any, // TODO - Stop the any usage
|
||||
pid: BigInt(nexAccount.pid),
|
||||
accessLevel: nexAccount.access_level,
|
||||
titleId: serviceToken.info.title_id,
|
||||
|
||||
@@ -48,7 +48,7 @@ export async function exchangeNEXTokenForUserData(request: ExchangeNEXTokenForUs
|
||||
},
|
||||
tokenInfo: {
|
||||
systemType: nexToken.info.system_type as any, // TODO - Stop the any usage
|
||||
tokenType: nexToken.info.system_type as any, // TODO - Stop the any usage
|
||||
tokenType: nexToken.info.token_type as any, // TODO - Stop the any usage
|
||||
pid: BigInt(nexAccount.pid),
|
||||
accessLevel: nexAccount.access_level,
|
||||
titleId: nexToken.info.title_id,
|
||||
@@ -73,7 +73,7 @@ export async function exchangeNEXTokenForUserData(request: ExchangeNEXTokenForUs
|
||||
},
|
||||
tokenInfo: {
|
||||
systemType: nexToken.info.system_type as any, // TODO - Stop the any usage
|
||||
tokenType: nexToken.info.system_type as any, // TODO - Stop the any usage
|
||||
tokenType: nexToken.info.token_type as any, // TODO - Stop the any usage
|
||||
pid: BigInt(nexAccount.pid),
|
||||
accessLevel: nexAccount.access_level,
|
||||
titleId: nexToken.info.title_id,
|
||||
|
||||
@@ -108,7 +108,7 @@ export async function exchangeOAuthTokenForUserData(request: ExchangeOAuthTokenF
|
||||
},
|
||||
tokenInfo: {
|
||||
systemType: oAuthToken.info.system_type as any, // TODO - Stop the any usage
|
||||
tokenType: oAuthToken.info.system_type as any, // TODO - Stop the any usage
|
||||
tokenType: oAuthToken.info.token_type as any, // TODO - Stop the any usage
|
||||
pid: BigInt(pnid.pid),
|
||||
accessLevel: pnid.access_level,
|
||||
titleId: oAuthToken.info.title_id,
|
||||
|
||||
@@ -104,7 +104,7 @@ export async function exchangePasswordResetTokenForUserData(request: ExchangePas
|
||||
},
|
||||
tokenInfo: {
|
||||
systemType: passwordResetToken.info.system_type as any, // TODO - Stop the any usage
|
||||
tokenType: passwordResetToken.info.system_type as any, // TODO - Stop the any usage
|
||||
tokenType: passwordResetToken.info.token_type as any, // TODO - Stop the any usage
|
||||
pid: BigInt(pnid.pid),
|
||||
accessLevel: pnid.access_level,
|
||||
titleId: passwordResetToken.info.title_id,
|
||||
|
||||
Reference in New Issue
Block a user