Skip to content

Commit d9bafff

Browse files
committed
Fix linting error #775
1 parent e3c69d6 commit d9bafff

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/services/algolia.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable ember/classic-decorator-hooks */
21
import Service from '@ember/service';
32
import algoliasearch from 'algoliasearch';
43
import config from 'ember-api-docs/config/environment';
@@ -33,8 +32,8 @@ export default class AlgoliaService extends Service {
3332
return this._indices[IndexName];
3433
}
3534

36-
init() {
37-
super.init(...arguments);
35+
constructor() {
36+
super(...arguments);
3837
this._client = algoliasearch(
3938
config.algolia.algoliaId,
4039
config.algolia.algoliaKey

0 commit comments

Comments
 (0)