fix: missing token

This commit is contained in:
Linventif 2024-03-29 15:52:36 +01:00
parent aa0b7ebd81
commit 8cdce17cab
No known key found for this signature in database
GPG Key ID: FAC0CA60F9AEEC24

View File

@ -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 = {