TGUI Update

This commit is contained in:
Heroman3003
2023-06-01 09:37:52 +10:00
committed by CHOMPStation2
parent 94f7414bca
commit 7144410a11
365 changed files with 12773 additions and 4100 deletions

View File

@@ -24,9 +24,14 @@ export class DreamSeeker {
}
topic(params = {}) {
// prettier-ignore
const query = Object.keys(params)
.map((key) => encodeURIComponent(key) + '=' + encodeURIComponent(params[key]))
.map(key => encodeURIComponent(key)
+ '=' + encodeURIComponent(params[key]))
.join('&');
logger.log(
`topic call at ${this.client.defaults.baseURL + '/dummy?' + query}`
);
return this.client.get('/dummy?' + query);
}
}