Browse Source

modify primary page

master
Pascal Gloor 5 years ago
parent
commit
55d4a045e9
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      cgi/autodoc.fcgi

+ 4
- 0
cgi/autodoc.fcgi View File

@@ -406,6 +406,10 @@ sub api_v1_PATCH_documents_id {
$qs->{name}, $id);
}

if ( exists $qs->{primarypage} ) {
sqlquery($dbh, "CALL set_primary_page(?)", $qs->{primarypage});
}


return (200);
}

Loading…
Cancel
Save