summaryrefslogtreecommitdiff
path: root/src/repository
diff options
context:
space:
mode:
Diffstat (limited to 'src/repository')
-rw-r--r--src/repository/routes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository/routes.rs b/src/repository/routes.rs
index abf77b6..32443b1 100644
--- a/src/repository/routes.rs
+++ b/src/repository/routes.rs
@@ -93,7 +93,7 @@ async fn create_repo(
.await;
result
- .map(|repo| HttpResponse::Ok().json(repo))
+ .map(|repo| HttpResponse::Created().json(repo))
.map_err(|e| e)
}