mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 22:07:34 +00:00
fix: missing token
This commit is contained in:
parent
aa0b7ebd81
commit
8cdce17cab
|
@ -49,7 +49,8 @@ function gmInte.http.requestAPI(params)
|
|||
local requestID = genRequestID()
|
||||
|
||||
if (token == "") then
|
||||
return noTokenError()
|
||||
noTokenError()
|
||||
return failed(401, "No token provided")
|
||||
end
|
||||
|
||||
local headers = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user