fixed bug

This commit is contained in:
Andrew Lalis 2023-08-29 15:38:32 -04:00
parent ffd620f172
commit 84f99fd35d
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ local function requestAuth(command, data, secure)
if secure and not client.state.securityKey then if secure and not client.state.securityKey then
return {success = false, error = "Missing security key for secure request."} return {success = false, error = "Missing security key for secure request."}
end end
autInfo.key = client.state.securityKey authInfo.key = client.state.securityKey
return requestRaw({command = command, auth = authInfo, data = data}) return requestRaw({command = command, auth = authInfo, data = data})
end end