mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-04 11:20:00 +08:00
Merge #380 Please include the state name, even in the API json.
This commit is contained in:
@@ -278,6 +278,7 @@ class ModuleBuild(MBSBase):
|
||||
return {
|
||||
"id": self.id,
|
||||
"state": self.state,
|
||||
'state_name': INVERSE_BUILD_STATES[self.state],
|
||||
'state_reason': self.state_reason,
|
||||
"owner": self.owner,
|
||||
"name": self.name,
|
||||
|
||||
Reference in New Issue
Block a user