mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 10:10:30 +08:00
Make Patch state field similar to Issue
Since they are similar objects, they should have similar structure. This also makes it easier to add state metadata like for issues.
This commit is contained in:
@@ -1351,7 +1351,7 @@ mod routes {
|
||||
},
|
||||
"title": "A new `hello word`",
|
||||
"description": "change `hello world` in README to something else",
|
||||
"state": "proposed",
|
||||
"state": { "status": "proposed" },
|
||||
"target": "delegates",
|
||||
"tags": [],
|
||||
"revisions": [
|
||||
@@ -1382,7 +1382,7 @@ mod routes {
|
||||
},
|
||||
"title": "A new `hello word`",
|
||||
"description": "change `hello world` in README to something else",
|
||||
"state": "proposed",
|
||||
"state": { "status": "proposed" },
|
||||
"target": "delegates",
|
||||
"tags": [],
|
||||
"revisions": [
|
||||
@@ -1452,7 +1452,7 @@ mod routes {
|
||||
},
|
||||
"title": "Update README",
|
||||
"description": "Do some changes to README",
|
||||
"state": "proposed",
|
||||
"state": { "status": "proposed" },
|
||||
"target": "delegates",
|
||||
"tags": [],
|
||||
"revisions": [
|
||||
|
||||
Reference in New Issue
Block a user