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

chore: remove `minBuildLabel` from flash sales (#4159)

Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/4159 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>

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

代码差异

1 个文件 +2 -1
Modified src/services/worldStateService.ts +2 -1
@@ -5168,7 +5168,8 @@ const pushFlashSales = (
5168 5168 );
5169 5169
5170 5170 ws.FlashSales.push(
5171 ...filteredItems.map(item => ({
5171 // eslint-disable-next-line @typescript-eslint/no-unused-vars
5172 ...filteredItems.map(({ minBuildLabel, ...item }) => ({
5172 5173 ...item,
5173 5174 StartDate: toMongoDate2(startDate, buildLabel),
5174 5175 EndDate: toMongoDate2(endDate, buildLabel),