Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Commit

Permalink
fix(cloud.project.flavor): remove eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
antleblanc committed Mar 12, 2019
1 parent 1f9a045 commit 2dffaf6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/cloud/project/flavor/cloud-project-flavor.v6.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ angular.module("ovh-api-services").service("OvhApiCloudProjectFlavorV6", functio
var cache = $cacheFactory("OvhApiCloudProjectFlavorV6");
var queryCache = $cacheFactory("OvhApiCloudProjectFlavorV6Query");

var flavor = $resource("/cloud/project/:serviceName/flavor/:flavorId", {
var resource = $resource("/cloud/project/:serviceName/flavor/:flavorId", {
serviceName: "@serviceName",
flavorId: "@flavorId"
}, {
Expand Down Expand Up @@ -50,13 +50,13 @@ angular.module("ovh-api-services").service("OvhApiCloudProjectFlavorV6", functio
}
});

flavor.resetCache = function () {
resource.resetCache = function () {
cache.removeAll();
};

flavor.resetQueryCache = function () {
resource.resetQueryCache = function () {
queryCache.removeAll();
};

return flavor;
return resource;
});

0 comments on commit 2dffaf6

Please sign in to comment.