Skip to content

Commit

Permalink
Game-Web: fix luacheck errors of undefined http_client & `lord_web_…
Browse files Browse the repository at this point in the history
…api`. Relates to #1402, #1333
  • Loading branch information
alek13 committed Jun 1, 2024
1 parent 2fc3578 commit bdd2f0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mods/lord/Core/http_client/src/http_client.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
local Client = require("http_client.Client")

http_client = {}

local function register_api()
_G.http_client = {
Client = Client,
Expand Down
2 changes: 2 additions & 0 deletions mods/lord/Game/lord_web_api/src/lord_web_api.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
local Api = require("lord_web_api.Api")
local config = require('lord_web_api.config')

lord_web_api = {}

--- @param conf lord_web_api.config
--- @return http_client.Client
local function init_client(conf)
Expand Down

0 comments on commit bdd2f0b

Please sign in to comment.