You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -116,6 +116,11 @@ export async function exchangeIndependentServiceTokenForUserData(request: Exchan
116
116
titleId: serviceToken.info.title_id,
117
117
issueTime: serviceToken.info.issued,
118
118
expireTime: serviceToken.info.expires
119
+
},
120
+
basicUserInfo: {
121
+
// TODO - ban: {}
122
+
accessBetaServers: pnid.access_level===1||pnid.access_level===2||pnid.access_level===3,// TODO - Remove with a better permission check later
123
+
accessDeveloperServers: pnid.access_level===3// TODO - Remove with a better permission check later
119
124
}
120
125
};
121
126
}else{
@@ -137,6 +142,11 @@ export async function exchangeIndependentServiceTokenForUserData(request: Exchan
137
142
titleId: serviceToken.info.title_id,
138
143
issueTime: serviceToken.info.issued,
139
144
expireTime: serviceToken.info.expires
145
+
},
146
+
basicUserInfo: {
147
+
// TODO - ban: {}
148
+
accessBetaServers: nexAccount.access_level===1||nexAccount.access_level===2||nexAccount.access_level===3,// TODO - Remove with a better permission check later
149
+
accessDeveloperServers: nexAccount.access_level===3// TODO - Remove with a better permission check later
systemType: nexToken.info.system_typeasany,// TODO - Stop the any usage
76
+
tokenType: nexToken.info.system_typeasany,// TODO - Stop the any usage
77
+
pid: BigInt(nexAccount.pid),
78
+
accessLevel: nexAccount.access_level,
79
+
titleId: nexToken.info.title_id,
80
+
issueTime: nexToken.info.issued,
81
+
expireTime: nexToken.info.expires
82
+
},
83
+
basicUserInfo: {
84
+
// TODO - ban: {}
85
+
accessBetaServers: nexAccount.access_level===1||nexAccount.access_level===2||nexAccount.access_level===3,// TODO - Remove with a better permission check later
86
+
accessDeveloperServers: nexAccount.access_level===3// TODO - Remove with a better permission check later
0 commit comments