mirror of
https://github.com/tribufu/tribufu-js
synced 2026-05-18 09:35:44 +00:00
Fix bug in TribufuApi.getServer()
This commit is contained in:
parent
52dca6a519
commit
a1021ecd86
2 changed files with 2 additions and 2 deletions
|
|
@ -306,7 +306,7 @@ export class TribufuApi {
|
|||
const queryPort = parts[1];
|
||||
|
||||
const headers = this.getHeaders();
|
||||
const responseBody = await this.http.get(`/v1/servers/?address=${hostOrAddress}&query_port=${queryPort}`, headers);
|
||||
const responseBody = await this.http.get(`/v1/servers?address=${hostOrAddress}&query_port=${queryPort}`, headers);
|
||||
|
||||
if (!responseBody) {
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue