mirror of
https://github.com/PretendoNetwork/miiverse-api.git
synced 2026-04-19 06:47:19 -05:00
updated token format
This commit is contained in:
parent
35a13d90dc
commit
9470efe786
|
|
@ -92,7 +92,7 @@ export function unpackToken(token: Buffer): Token {
|
|||
pid: token.readUInt32LE(0x2),
|
||||
expire_time: token.readBigUInt64LE(0x6),
|
||||
title_id: token.readBigUInt64LE(0xE),
|
||||
access_level: token.readUInt8(0x16)
|
||||
access_level: token.readInt8(0x16)
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user