Fix incorrect auth on supply_construction_site endpoint
This commit is contained in:
parent
70a30ff132
commit
f9944d6878
1 changed files with 2 additions and 1 deletions
|
@ -1673,6 +1673,7 @@ pub type ConstructionSiteSupplied {
|
|||
}
|
||||
|
||||
pub fn supply_construction_site(
|
||||
token: AgentToken,
|
||||
system_symbol: SystemSymbol,
|
||||
waypoint_symbol: WaypointSymbol,
|
||||
ship_symbol: ShipSymbol,
|
||||
|
@ -1681,7 +1682,7 @@ pub fn supply_construction_site(
|
|||
) -> ApiResponse(ConstructionSiteSupplied) {
|
||||
let request =
|
||||
api.post_json(
|
||||
NoAuth,
|
||||
AgentAuth(token),
|
||||
"/systems/"
|
||||
<> system_symbol.to_string(system_symbol)
|
||||
<> "/waypoints/"
|
||||
|
|
Loading…
Reference in a new issue