switch back to sites enpoint until API is updated
This commit is contained in:
parent
f7fd28fded
commit
022fa34478
|
@ -5,12 +5,12 @@
|
||||||
var _service = {},
|
var _service = {},
|
||||||
_apiUri = appSettings.apiUri;
|
_apiUri = appSettings.apiUri;
|
||||||
|
|
||||||
_service.logins = $resource(_apiUri + '/logins/:id', {}, {
|
_service.logins = $resource(_apiUri + '/sites/:id', {}, {
|
||||||
get: { method: 'GET', params: { id: '@id' } },
|
get: { method: 'GET', params: { id: '@id' } },
|
||||||
list: { method: 'GET', params: {} },
|
list: { method: 'GET', params: {} },
|
||||||
post: { method: 'POST', params: {} },
|
post: { method: 'POST', params: {} },
|
||||||
put: { method: 'POST', params: { id: '@id' } },
|
put: { method: 'POST', params: { id: '@id' } },
|
||||||
del: { url: _apiUri + '/logins/:id/delete', method: 'POST', params: { id: '@id' } }
|
del: { url: _apiUri + '/sites/:id/delete', method: 'POST', params: { id: '@id' } }
|
||||||
});
|
});
|
||||||
|
|
||||||
_service.folders = $resource(_apiUri + '/folders/:id', {}, {
|
_service.folders = $resource(_apiUri + '/folders/:id', {}, {
|
||||||
|
|
Loading…
Reference in New Issue