mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-22 01:27:46 +01:00
12 lines
269 B
JavaScript
12 lines
269 B
JavaScript
|
export default class SummaApi {
|
||
|
constructor (client) {
|
||
|
this.client = client
|
||
|
}
|
||
|
|
||
|
async search (schema, text, page, item_per_page = 5) {
|
||
|
return await this.client.search(schema, text, page, item_per_page).then(response => {
|
||
|
return response
|
||
|
})
|
||
|
}
|
||
|
}
|