diff --git a/radicle-httpd/Cargo.toml b/radicle-httpd/Cargo.toml index a16b6f38d..979401f18 100644 --- a/radicle-httpd/Cargo.toml +++ b/radicle-httpd/Cargo.toml @@ -25,7 +25,7 @@ flate2 = { version = "1" } hyper = { version = "0.14.17", default-features = false } lexopt = { version = "0.2.1" } nonempty = { version = "0.8.1", features = ["serialize"] } -radicle-surf = { version = "0.12.0", default-features = false, features = ["serde"] } +radicle-surf = { version = "0.14.0", default-features = false, features = ["serde"] } serde = { version = "1", features = ["derive"] } serde_json = { version = "1", features = ["preserve_order"] } thiserror = { version = "1" } diff --git a/radicle-httpd/src/api/v1/projects.rs b/radicle-httpd/src/api/v1/projects.rs index c2a4b7ded..b362300d2 100644 --- a/radicle-httpd/src/api/v1/projects.rs +++ b/radicle-httpd/src/api/v1/projects.rs @@ -879,6 +879,14 @@ mod routes { "type": "addition", }, ], + "old": { + "start": 0, + "end": 0, + }, + "new": { + "start": 1, + "end": 2, + }, }, ], "eof": "noneMissing", @@ -901,7 +909,15 @@ mod routes { "lineNo": 1, "type": "addition" } - ] + ], + "old": { + "start": 0, + "end": 0, + }, + "new": { + "start": 1, + "end": 2, + }, } ], "eof": "noneMissing", @@ -927,6 +943,14 @@ mod routes { "type": "deletion", }, ], + "old": { + "start": 1, + "end": 2, + }, + "new": { + "start": 0, + "end": 0, + }, }, ], "eof": "noneMissing", @@ -981,6 +1005,14 @@ mod routes { "type": "addition", }, ], + "old": { + "start": 0, + "end": 0, + }, + "new": { + "start": 1, + "end": 2, + }, }, ], "eof": "noneMissing", @@ -1006,6 +1038,14 @@ mod routes { "type": "deletion", }, ], + "old": { + "start": 1, + "end": 2, + }, + "new": { + "start": 0, + "end": 0, + }, }, ], "eof": "noneMissing", @@ -1059,7 +1099,15 @@ mod routes { "lineNo": 1, "type": "addition" } - ] + ], + "old": { + "start": 0, + "end": 0, + }, + "new": { + "start": 1, + "end": 2, + }, } ], "eof": "noneMissing", @@ -1134,6 +1182,14 @@ mod routes { "type": "addition", }, ], + "old": { + "start": 0, + "end": 0, + }, + "new": { + "start": 1, + "end": 2, + }, }, ], "eof": "noneMissing", @@ -1156,7 +1212,15 @@ mod routes { "lineNo": 1, "type": "addition" } - ] + ], + "old": { + "start": 0, + "end": 0, + }, + "new": { + "start": 1, + "end": 2, + }, } ], "eof": "noneMissing", @@ -1182,6 +1246,14 @@ mod routes { "type": "deletion", }, ], + "old": { + "start": 1, + "end": 2, + }, + "new": { + "start": 0, + "end": 0, + }, }, ], "eof": "noneMissing", @@ -1431,6 +1503,14 @@ mod routes { "type": "addition", }, ], + "old": { + "start": 0, + "end": 0, + }, + "new": { + "start": 1, + "end": 2, + }, }, ], "eof": "noneMissing",