httpd: change `committerTime` into `committer.time`
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
This commit is contained in:
parent
b1012014fe
commit
f065bce876
|
|
@ -18,9 +18,9 @@ pub(crate) fn commit(commit: &Commit) -> serde_json::Value {
|
|||
"description": commit.description(),
|
||||
"committer": {
|
||||
"name": commit.committer.name,
|
||||
"email": commit.committer.email
|
||||
},
|
||||
"committerTime": commit.committer.time.seconds()
|
||||
"email": commit.committer.email,
|
||||
"time": commit.committer.time.seconds()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -533,9 +533,9 @@ mod routes {
|
|||
"description": "",
|
||||
"committer": {
|
||||
"name": "Alice Liddell",
|
||||
"email": "alice@radicle.xyz"
|
||||
"email": "alice@radicle.xyz",
|
||||
"time": 1673001014
|
||||
},
|
||||
"committerTime": 1673001014
|
||||
},
|
||||
"diff": {
|
||||
"added": [
|
||||
|
|
@ -583,9 +583,9 @@ mod routes {
|
|||
"description": "",
|
||||
"committer": {
|
||||
"name": "Alice Liddell",
|
||||
"email": "alice@radicle.xyz"
|
||||
"email": "alice@radicle.xyz",
|
||||
"time": 1673001014
|
||||
},
|
||||
"committerTime": 1673001014
|
||||
},
|
||||
"diff": {
|
||||
"added": [
|
||||
|
|
@ -657,9 +657,9 @@ mod routes {
|
|||
"description": "",
|
||||
"committer": {
|
||||
"name": "Alice Liddell",
|
||||
"email": "alice@radicle.xyz"
|
||||
"email": "alice@radicle.xyz",
|
||||
"time": 1673001014
|
||||
},
|
||||
"committerTime": 1673001014
|
||||
},
|
||||
"diff": {
|
||||
"added": [
|
||||
|
|
@ -737,9 +737,9 @@ mod routes {
|
|||
"description": "",
|
||||
"committer": {
|
||||
"name": "Alice Liddell",
|
||||
"email": "alice@radicle.xyz"
|
||||
"email": "alice@radicle.xyz",
|
||||
"time": 1673001014
|
||||
},
|
||||
"committerTime": 1673001014
|
||||
},
|
||||
"name": "",
|
||||
"path": "",
|
||||
|
|
@ -780,9 +780,9 @@ mod routes {
|
|||
"description": "",
|
||||
"committer": {
|
||||
"name": "Alice Liddell",
|
||||
"email": "alice@radicle.xyz"
|
||||
"email": "alice@radicle.xyz",
|
||||
"time": 1673001014
|
||||
},
|
||||
"committerTime": 1673001014
|
||||
},
|
||||
"name": "dir1",
|
||||
"path": "dir1",
|
||||
|
|
@ -861,9 +861,9 @@ mod routes {
|
|||
"description": "",
|
||||
"committer": {
|
||||
"name": "Alice Liddell",
|
||||
"email": "alice@radicle.xyz"
|
||||
"email": "alice@radicle.xyz",
|
||||
"time": 1673001014
|
||||
},
|
||||
"committerTime": 1673001014
|
||||
},
|
||||
"name": "README",
|
||||
"path": "README"
|
||||
|
|
@ -897,9 +897,9 @@ mod routes {
|
|||
"description": "",
|
||||
"committer": {
|
||||
"name": "Alice Liddell",
|
||||
"email": "alice@radicle.xyz"
|
||||
"email": "alice@radicle.xyz",
|
||||
"time": 1673001014
|
||||
},
|
||||
"committerTime": 1673001014
|
||||
},
|
||||
"name": "README",
|
||||
"path": "README"
|
||||
|
|
|
|||
Loading…
Reference in New Issue