Skip to content

Commit 33c2c52

Browse files
committed
fix: incorrect index for api version
1 parent ec7546d commit 33c2c52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Classes/APIContractBuilds.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,11 @@ local APIContractBuilds = newClass("APIContractBuilds",
104104

105105
-- Switch case for GET Endpoint for Builds
106106
local getBuildVersions = {
107-
[0] = function(...) return APIContractBuilds:GetBuildsVersion1(...) end,
107+
[1] = function(...) return APIContractBuilds:GetBuildsVersion1(...) end,
108108
}
109109
-- Switch case for GET Endpoint for Builds
110110
local getBuildFilterVersions = {
111-
[0] = function(data) return APIContractBuilds:GetBuildVersion1Filter(data) end,
111+
[1] = function(data) return APIContractBuilds:GetBuildVersion1Filter(data) end,
112112
}
113113

114114
---@param data table

0 commit comments

Comments
 (0)