Please include the state name, even in the API json.

This commit is contained in:
Ralph Bean
2017-03-02 11:45:04 -05:00
parent 7e1a08901c
commit dac43c62b8

View File

@@ -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,