diff options
author | jloup <jloup@jloup.work> | 2018-05-13 23:14:26 +0200 |
---|---|---|
committer | jloup <jloup@jloup.work> | 2018-05-13 23:18:48 +0200 |
commit | 2e4885d98ec49203180deb7e4e9148762e4720e7 (patch) | |
tree | f018a158d2f39133a21dba899176f6fde606bd92 /cmd/web/js/api.js | |
parent | 6bf174a95ba0f71abf25397316fc101405381cdf (diff) | |
download | Front-2e4885d98ec49203180deb7e4e9148762e4720e7.tar.gz Front-2e4885d98ec49203180deb7e4e9148762e4720e7.tar.zst Front-2e4885d98ec49203180deb7e4e9148762e4720e7.zip |
Admin minimal dashboard.v0.0.14
Diffstat (limited to 'cmd/web/js/api.js')
-rw-r--r-- | cmd/web/js/api.js | 9 |
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 | ||
147 | Api.BuildRequest = function(endpointId, params) { | 156 | Api.BuildRequest = function(endpointId, params) { |