fix: update old function call

This commit is contained in:
Aaron Yarborough 2025-02-19 19:35:03 +00:00
parent e5576e0e67
commit 9376468d19

View file

@ -56,7 +56,7 @@ public class AuthResponseMessage : BaseMessage, IMessage<AuthResponseMessage>
if (IsSuccessful)
{
short sessionTokenByteLen = (short)Encoding.UTF8.GetByteCount(SessionToken!);
stream.WriteUInt16(sessionTokenByteLen);
stream.WriteInt16(sessionTokenByteLen);
stream.WriteUtf8String(SessionToken!);
}
else