mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-05 16:24:21 +01:00
16 lines
336 B
JavaScript
16 lines
336 B
JavaScript
'use strict';
|
|
|
|
Application.Services.factory('OpenAPIClient', ['$resource', function ($resource) {
|
|
return $resource('/api/open_api_clients/:id',
|
|
{ id: '@id' }, {
|
|
resetToken: {
|
|
method: 'PATCH',
|
|
url: '/api/open_api_clients/:id/reset_token'
|
|
},
|
|
update: {
|
|
method: 'PUT'
|
|
}
|
|
}
|
|
);
|
|
}]);
|