Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/survey_client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-11-19 12:54:35 +0300
committerJoas Schilling <coding@schilljs.com>2019-11-19 12:54:35 +0300
commit9b5e3b29b38e3983ad9aa743083e4d4d72e0ed0d (patch)
tree8202bea009ea248255afeda1b0ace414776514ef /js/admin.js
parent7d60f536b31ae331294af77c4c966c40bafffb1d (diff)
Remove duplicated slash on URLs
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'js/admin.js')
-rw-r--r--js/admin.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/admin.js b/js/admin.js
index b1285bd..3053c1b 100644
--- a/js/admin.js
+++ b/js/admin.js
@@ -21,7 +21,7 @@ $(document).ready(function() {
$button.attr('disabled', true);
$.ajax({
- url: OC.linkToOCS('apps/survey_client/api/v1/', 2) + 'monthly?format=json',
+ url: OC.linkToOCS('apps/survey_client/api/v1', 2) + 'monthly?format=json',
type: $(this).attr('checked') ? 'POST' : 'DELETE',
success: function() {
$button.attr('disabled', false);
@@ -33,7 +33,7 @@ $(document).ready(function() {
var $button = $(this);
$button.attr('disabled', true);
$.ajax({
- url: OC.linkToOCS('apps/survey_client/api/v1/', 2) + 'report?format=json',
+ url: OC.linkToOCS('apps/survey_client/api/v1', 2) + 'report?format=json',
type: 'POST',
success: function(response) {
$button.attr('disabled', false);