summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2021-03-16 13:51:34 +0100
committerSanto Cariotti <santo@dcariotti.me>2021-03-16 13:51:34 +0100
commit517107f718d3474128028f1e72fce1a62150bd5d (patch)
treecf18d767b51dea83358c9a544d3f33f2d82be424 /src
parent9e9d01c1332db5130a271db9882cb37418dc3f9b (diff)
chore: add doc for create repo endpoint
Diffstat (limited to 'src')
-rw-r--r--src/repository/routes.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/repository/routes.rs b/src/repository/routes.rs
index a0f4db5..abf77b6 100644
--- a/src/repository/routes.rs
+++ b/src/repository/routes.rs
@@ -80,6 +80,7 @@ async fn delete_repo(
.map_err(|e| e)
}
+/// Endpoint used for create new repository
async fn create_repo(
req: HttpRequest,
payload: web::Json<RepositoryData>,