mirror of https://gitee.com/bigwinds/arangodb
fixed wrong gharial api route
This commit is contained in:
parent
b6f3d506d9
commit
6a2d681fd3
|
@ -11,12 +11,13 @@
|
||||||
desc: false
|
desc: false
|
||||||
},
|
},
|
||||||
|
|
||||||
url: frontendConfig.basePath + "/_api/gharial",
|
//url: frontendConfig.basePath + "/_api/gharial",
|
||||||
|
url: arangoHelper.databaseUrl('/_api/gharial'),
|
||||||
|
|
||||||
dropAndDeleteGraph: function(name, callback) {
|
dropAndDeleteGraph: function(name, callback) {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "DELETE",
|
type: "DELETE",
|
||||||
url: frontendConfig.basePath + "/_api/gharial/" + encodeURIComponent(name) + "?dropCollections=true",
|
url: arangoHelper.databaseUrl('/_api/gharial/') + encodeURIComponent(name) + "?dropCollections=true",
|
||||||
contentType: "application/json",
|
contentType: "application/json",
|
||||||
processData: true,
|
processData: true,
|
||||||
success: function() {
|
success: function() {
|
||||||
|
|
Loading…
Reference in New Issue