Compare commits
2 commits
70a30ff132
...
35b1d0c1fc
Author | SHA1 | Date | |
---|---|---|---|
35b1d0c1fc | |||
f9944d6878 |
2 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
name = "spacetraders_sdk"
|
name = "spacetraders_sdk"
|
||||||
version = "1.5.1"
|
version = "1.5.2"
|
||||||
gleam = ">= 1.11.0"
|
gleam = ">= 1.11.0"
|
||||||
description = "A Gleam SDK for the spacetraders.io game API"
|
description = "A Gleam SDK for the spacetraders.io game API"
|
||||||
licences = ["MIT"]
|
licences = ["MIT"]
|
||||||
|
|
|
@ -1673,6 +1673,7 @@ pub type ConstructionSiteSupplied {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn supply_construction_site(
|
pub fn supply_construction_site(
|
||||||
|
token: AgentToken,
|
||||||
system_symbol: SystemSymbol,
|
system_symbol: SystemSymbol,
|
||||||
waypoint_symbol: WaypointSymbol,
|
waypoint_symbol: WaypointSymbol,
|
||||||
ship_symbol: ShipSymbol,
|
ship_symbol: ShipSymbol,
|
||||||
|
@ -1681,7 +1682,7 @@ pub fn supply_construction_site(
|
||||||
) -> ApiResponse(ConstructionSiteSupplied) {
|
) -> ApiResponse(ConstructionSiteSupplied) {
|
||||||
let request =
|
let request =
|
||||||
api.post_json(
|
api.post_json(
|
||||||
NoAuth,
|
AgentAuth(token),
|
||||||
"/systems/"
|
"/systems/"
|
||||||
<> system_symbol.to_string(system_symbol)
|
<> system_symbol.to_string(system_symbol)
|
||||||
<> "/waypoints/"
|
<> "/waypoints/"
|
||||||
|
|
Loading…
Reference in a new issue