mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-06-13 11:31:41 +00:00
added params argument to getServersList
This commit is contained in:
parent
87835c41eb
commit
dd4fb49a97
1 changed files with 2 additions and 2 deletions
|
|
@ -1,8 +1,8 @@
|
|||
import {instance, wrapper} from './Api';
|
||||
|
||||
export default {
|
||||
getServersList () {
|
||||
return wrapper(instance().get(`explore/servers`))
|
||||
getServersList (params) {
|
||||
return wrapper(instance().get(`explore/servers${params || ''}`))
|
||||
},
|
||||
getServer (server_id) {
|
||||
return wrapper(instance().get(`explore/servers/${server_id}`))
|
||||
|
|
|
|||
Loading…
Reference in a new issue