Radish alpha
r
rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5
Radicle web interface
Radicle
Git
Update API version to 2.0.0
Sebastian Martinez committed 1 year ago
commit 41b1bcafd544f9f01f6e259544ef74157e0ce735
parent ec67187
2 files changed +2 -2
modified config/default.json
@@ -1,7 +1,7 @@
{
  "nodes": {
    "fallbackPublicExplorer": "https://app.radicle.xyz/nodes/$host/$rid$path",
-
    "apiVersion": "1.2.0",
+
    "apiVersion": "2.0.0",
    "defaultHttpdPort": 443,
    "defaultHttpdHostname": "seed.radicle.garden",
    "defaultHttpdScheme": "https",
modified radicle-httpd/src/api.rs
@@ -31,7 +31,7 @@ use crate::Options;

pub const RADICLE_VERSION: &str = env!("RADICLE_VERSION");
// This version has to be updated on every breaking change to the radicle-httpd API.
-
pub const API_VERSION: &str = "1.2.0";
+
pub const API_VERSION: &str = "2.0.0";

#[derive(Clone)]
pub struct Context {