Skip to content

Commit

Permalink
Update TGS DMAPI (#10414)
Browse files Browse the repository at this point in the history
  • Loading branch information
ss13-beebot authored Jan 4, 2024
1 parent b6ae9dc commit 5e9777d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/__DEFINES/tgs.dm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// tgstation-server DMAPI

#define TGS_DMAPI_VERSION "7.0.0"
#define TGS_DMAPI_VERSION "7.0.1"

// All functions and datums outside this document are subject to change with any version and should not be relied on.

Expand Down
2 changes: 1 addition & 1 deletion code/modules/tgs/v5/__interop_version.dm
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"5.7.0"
"5.8.0"
2 changes: 1 addition & 1 deletion code/modules/tgs/v5/bridge.dm
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
var/json = CreateBridgeData(command, data, TRUE)
var/encoded_json = url_encode(json)

var/api_prefix = interop_version.minor >= 7 ? "api/" : ""
var/api_prefix = interop_version.minor >= 8 ? "api/" : ""

var/url = "http://127.0.0.1:[server_port]/[api_prefix]Bridge?[DMAPI5_BRIDGE_DATA]=[encoded_json]"
return url
Expand Down

0 comments on commit 5e9777d

Please sign in to comment.