mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-04 17:41:18 +03:00
eddn: Add header for CAPI outfitting and shipyard exports
This commit is contained in:
parent
f6e2504216
commit
f2dbfacf70
@ -635,7 +635,7 @@ class EDDN:
|
||||
self.send_message(data['commander']['name'], {
|
||||
'$schemaRef': f'https://eddn.edcd.io/schemas/commodity/3{"/test" if is_beta else ""}',
|
||||
'message': message,
|
||||
'header': self.standard_header(game_version='CAPI-market', game_build='CAPI-market')
|
||||
'header': self.standard_header(game_version='CAPI-market', game_build='CAPI-market'),
|
||||
})
|
||||
|
||||
this.commodities = commodities
|
||||
@ -729,6 +729,7 @@ class EDDN:
|
||||
('modules', outfitting),
|
||||
('odyssey', this.odyssey),
|
||||
]),
|
||||
'header': self.standard_header(game_version='CAPI-shipyard', game_build='CAPI-shipyard'),
|
||||
})
|
||||
|
||||
this.outfitting = (horizons, outfitting)
|
||||
@ -773,6 +774,7 @@ class EDDN:
|
||||
('ships', shipyard),
|
||||
('odyssey', this.odyssey),
|
||||
]),
|
||||
'header': self.standard_header(game_version='CAPI-shipyard', game_build='CAPI-shipyard'),
|
||||
})
|
||||
|
||||
this.shipyard = (horizons, shipyard)
|
||||
|
Loading…
x
Reference in New Issue
Block a user