summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/events/Copy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/events/Copy.cpp b/src/server/events/Copy.cpp
index 92d3b3ec..14009163 100644
--- a/src/server/events/Copy.cpp
+++ b/src/server/events/Copy.cpp
@@ -48,7 +48,7 @@ Copy::pre_process()
{
if (_old_path.empty() ||
!Node::uri_is_path(_new_uri) ||
- _new_uri == Node::root_uri()) {
+ _new_uri == Node::root_graph_uri()) {
return Event::pre_process_done(Status::BAD_REQUEST);
}