Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
Fix removal of database adapter containing special chars in the name
Browse files Browse the repository at this point in the history
  • Loading branch information
saulotoledo committed Nov 27, 2019
1 parent ad7ad77 commit af705e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apigility-ui/service/api.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@
};

this.deleteDatabase = function(name, callback) {
xhr.remove(agApiPath + '/db-adapter/' + name)
xhr.remove(agApiPath + '/db-adapter/' + encodeURIComponent(name))
.then(function (response) {
growl.success('Database adapter removed');
return callback(false, response);
Expand Down

0 comments on commit af705e4

Please sign in to comment.