bunkernet - fix /ping api endpoint (again)

This commit is contained in:
fl0ppy-d1sk 2024-02-14 17:13:44 +01:00
parent 385cb327ee
commit 45dfa93696
No known key found for this signature in database
GPG key ID: 93EE47CC3D061500

View file

@ -324,6 +324,8 @@ function bunkernet:api()
return self:ret(true, "missing instance ID", HTTP_INTERNAL_SERVER_ERROR)
end
self.bunkernet_id = id
self.version = get_version(self.ctx)
self.integration = get_integration(self.ctx)
-- Send ping request
local ok, err, status, _ = self:ping()
if not ok then