aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/js/api.js
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/web/js/api.js')
-rw-r--r--cmd/web/js/api.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/cmd/web/js/api.js b/cmd/web/js/api.js
index 63355f0..b626c5f 100644
--- a/cmd/web/js/api.js
+++ b/cmd/web/js/api.js
@@ -142,6 +142,15 @@ var ApiEndpoints = {
142 return '/otp/validate'; 142 return '/otp/validate';
143 } 143 }
144 }, 144 },
145 'ADMIN_PORTFOLIOS': {
146 'type': 'GET',
147 'auth': true,
148 'parameters': [],
149 'buildUrl': function() {
150 return '/admin/portfolios';
151 }
152 },
153
145}; 154};
146 155
147Api.BuildRequest = function(endpointId, params) { 156Api.BuildRequest = function(endpointId, params) {