mcutils-js-api 2.0.38 → 2.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -214,7 +214,7 @@ export class McUtilsAPI {
|
|
|
214
214
|
* @returns the player search entry or the error (if one occurred)
|
|
215
215
|
*/
|
|
216
216
|
async searchPlayers(query) {
|
|
217
|
-
const { data, error } = await this.request(`/players/search
|
|
217
|
+
const { data, error } = await this.request(`/players/search${this.buildParams({ query: query })}`);
|
|
218
218
|
return error ? { error } : { entry: data };
|
|
219
219
|
}
|
|
220
220
|
}
|