返回提交历史
Modified
src/services/worldStateService.ts
+2
-1
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
代码差异
1 个文件
+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),