Skip to content

Commit

Permalink
Automatic TGS DMAPI Update (#2613)
Browse files Browse the repository at this point in the history
This pull request updates the TGS DMAPI to the latest version. Please
note any breaking or unimplemented changes before merging.

Co-authored-by: github-actions <[email protected]>
  • Loading branch information
github-actions[bot] and actions-user authored Dec 30, 2023
1 parent b978c9b commit 84df369
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 84df369

Please sign in to comment.