Skip to content

Commit 3d8a4d1

Browse files
authored
Update ApiService.luau
1 parent 2030541 commit 3d8a4d1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Src/Services/ApiService.luau

+2-3
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ function ApiService._QueryServerStartAsync(self: ApiService)
6161
local serverType = ServerType.Public
6262

6363
if RunService:IsStudio() then
64-
-- todo, backend doesn't support STUDIO
65-
66-
serverType = ServerType.Reserved
64+
serverType = ServerType.Studio
6765
elseif game.VIPServerOwnerId ~= 0 then
6866
serverType = ServerType.Private
6967
elseif game.VIPServerId ~= "" then
@@ -75,6 +73,7 @@ function ApiService._QueryServerStartAsync(self: ApiService)
7573
return self:PostAsync(string.format(ApiPaths.ServerStart, self.ProjectId), {
7674
["serverId"] = self.JobId,
7775
["placeVersion"] = game.PlaceVersion,
76+
["placeId"] = game.PlaceId,
7877
["type"] = string.upper(serverType),
7978
["maxPlayers"] = Players.MaxPlayers,
8079
["region"] = self.Trace.loc

0 commit comments

Comments
 (0)