diff options
author | Santo Cariotti <santo@dcariotti.me> | 2021-03-16 13:51:34 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2021-03-16 13:51:34 +0100 |
commit | 517107f718d3474128028f1e72fce1a62150bd5d (patch) | |
tree | cf18d767b51dea83358c9a544d3f33f2d82be424 | |
parent | 9e9d01c1332db5130a271db9882cb37418dc3f9b (diff) |
chore: add doc for create repo endpoint
-rw-r--r-- | src/repository/routes.rs | 1 |
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>, |