1
0
Fork 0

fixed wrong gharial api route

This commit is contained in:
hkernbach 2016-06-16 10:49:50 +02:00
parent b6f3d506d9
commit 6a2d681fd3
1 changed files with 3 additions and 2 deletions

View File

@ -11,12 +11,13 @@
desc: false
},
url: frontendConfig.basePath + "/_api/gharial",
//url: frontendConfig.basePath + "/_api/gharial",
url: arangoHelper.databaseUrl('/_api/gharial'),
dropAndDeleteGraph: function(name, callback) {
$.ajax({
type: "DELETE",
url: frontendConfig.basePath + "/_api/gharial/" + encodeURIComponent(name) + "?dropCollections=true",
url: arangoHelper.databaseUrl('/_api/gharial/') + encodeURIComponent(name) + "?dropCollections=true",
contentType: "application/json",
processData: true,
success: function() {