mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-02 13:24:20 +01:00
22 lines
496 B
JavaScript
22 lines
496 B
JavaScript
/*
|
|
* decaffeinate suggestions:
|
|
* DS102: Remove unnecessary code created because of implicit returns
|
|
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
|
|
*/
|
|
'use strict';
|
|
|
|
Application.Services.factory('OpenAPIClient', ["$resource", $resource=>
|
|
$resource("/api/open_api_clients/:id",
|
|
{id: "@id"}, {
|
|
resetToken: {
|
|
method: 'PATCH',
|
|
url: "/api/open_api_clients/:id/reset_token"
|
|
},
|
|
update: {
|
|
method: 'PUT'
|
|
}
|
|
}
|
|
)
|
|
|
|
]);
|