mirror of
https://github.com/PretendoNetwork/miiverse-api.git
synced 2026-08-20 07:34:06 -05:00
updated token format
This commit is contained in:
@@ -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)
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user