chore: format code

This commit is contained in:
David Wheatley 2021-10-13 19:31:05 +01:00
parent cfab9a65ca
commit d6efed3e77
No known key found for this signature in database
GPG Key ID: DCC0FCE349280DFF
2 changed files with 40 additions and 43 deletions

View File

@ -23,10 +23,7 @@ export default class Source implements SearchSource {
include: 'mostRelevantPost', include: 'mostRelevantPost',
}; };
return app.request( return app.request(app.forum.attribute('apiUrl') + '/blomstra/search', params).then((results) => this.results.set(query, results));
app.forum.attribute('apiUrl') + '/blomstra/search',
params
).then((results) => this.results.set(query, results));
} }
view(query: string): Array<Mithril.Vnode> { view(query: string): Array<Mithril.Vnode> {

View File

@ -10,6 +10,6 @@ app.initializers.add('blomstra-search', () => {
items.add('discussions', new Source()); items.add('discussions', new Source());
console.log(items) console.log(items);
}); });
}); });