koishi-plugin-ets2-tools-tmp 2.5.5 → 2.5.6
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/lib/api/truckersMpApi.js
CHANGED
package/lib/api/truckyAppApi.js
CHANGED
|
@@ -182,7 +182,7 @@ module.exports = async (ctx, cfg, session, tmpId) => {
|
|
|
182
182
|
if (!steamApiKey) {
|
|
183
183
|
return { ets2: null, ats: null };
|
|
184
184
|
}
|
|
185
|
-
const url = `https://
|
|
185
|
+
const url = `https://api.114512.xyz/steam/IPlayerService/GetOwnedGames/v1?key=${steamApiKey}&steamid=${steamId}&appids_filter[0]=227300&appids_filter[1]=270880&include_played_free_games=1`;
|
|
186
186
|
const response = await ctx.http.get(url);
|
|
187
187
|
const result = { ets2: null, ats: null };
|
|
188
188
|
|