Skip to content

Commit

Permalink
fix(api-angular): fix MS extends
Browse files Browse the repository at this point in the history
  • Loading branch information
Christie Baker authored and Christie Baker committed Apr 13, 2018
1 parent a21e423 commit 24544cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/api-angular/src/ms.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import angular from 'angular';

import Api from '@availity/api-core';
import { AvMicroservice } from '@availity/api-core';

function factory($http, $q, avApiOptions) {
class AvMicroservice extends Api {
class AvMicroserviceApi extends AvMicroservice {
constructor(options) {
if (!options) {
throw new Error('[options] cannot be null or undefined');
Expand All @@ -18,7 +18,7 @@ function factory($http, $q, avApiOptions) {
});
}
}
return AvMicroservice;
return AvMicroserviceApi;
}

export default factory;

0 comments on commit 24544cc

Please sign in to comment.