aboutsummaryrefslogtreecommitdiff
path: root/zenserver/projectstore.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-10-18 19:42:00 +0200
committerStefan Boberg <[email protected]>2021-10-18 19:42:00 +0200
commit0ef5158270cf8f95e66e822ca128775f847d1bd1 (patch)
tree8e6e30b5fd98e5607bb43b31e95025fd3e32de68 /zenserver/projectstore.cpp
parenthttpsys: Added automatic translation of 200 OK -> 204 NO CONTENT for case whe... (diff)
downloadzen-0ef5158270cf8f95e66e822ca128775f847d1bd1.tar.xz
zen-0ef5158270cf8f95e66e822ca128775f847d1bd1.zip
project store: DELETE {project} request now produces a correct HTTP response
Diffstat (limited to 'zenserver/projectstore.cpp')
-rw-r--r--zenserver/projectstore.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/zenserver/projectstore.cpp b/zenserver/projectstore.cpp
index 39348b436..d54d03450 100644
--- a/zenserver/projectstore.cpp
+++ b/zenserver/projectstore.cpp
@@ -1613,6 +1613,8 @@ HttpProjectService::HttpProjectService(CasStore& Store, ProjectStore* Projects)
}
m_ProjectStore->DeleteProject(ProjectId);
+
+ return Req.ServerRequest().WriteResponse(HttpResponseCode::NoContent);
}
break;
}