XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFESpaceNinjaServer

fix: profile stats in U5 (#3632)

Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/3632 Reviewed-by: Sainan <63328889+sainan@users.noreply.github.com> Co-authored-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com> Co-committed-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>

b0367652
AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified src/controllers/stats/viewController.ts +1 -1
@@ -5,7 +5,7 @@ import type { IStatsClient } from "../../types/statTypes.ts";
5 5 import { getProfileViewingDataByGuildId } from "../dynamic/getProfileViewingDataController.ts";
6 6
7 7 const viewController: RequestHandler = async (req, res) => {
8 const lookupId = String(req.query.id ?? req.query.lookupId);
8 const lookupId = String(req.query.id ?? req.query.lookupId ?? req.query.accountId);
9 9
10 10 if (req.query.guild == "1") {
11 11 const data = await getProfileViewingDataByGuildId(lookupId);