feat: belly of the beast / eight claw #2621

Merged
Sainan merged 5 commits from AMelonInsideLemon/SpaceNinjaServer:goal-belly-of-the-beast into main 2025-08-15 08:14:38 -07:00
2 changed files with 1 additions and 2 deletions
Showing only changes of commit 12ecc9715f - Show all commits

View File

@ -820,7 +820,7 @@ export const getAllianceClient = async (
export const handleGuildGoalProgress = async (
guild: TGuildDatabaseDocument,
upload: { Count: number; Tag: string; goalId: Types.ObjectId }
) => {
): Promise<void> => {
guild.GoalProgress ??= [];
const goalProgress = guild.GoalProgress.find(x => x.goalId.equals(upload.goalId));
if (!goalProgress) {

View File

@ -36,7 +36,6 @@ import { TInventoryDatabaseDocument } from "@/src/models/inventoryModels/invento
import { fromStoreItem, toStoreItem } from "@/src/services/itemDataService";
import { DailyDeal } from "@/src/models/worldStateModel";
import { fromMongoDate, toMongoDate } from "@/src/helpers/inventoryHelpers";
import { Account } from "@/src/models/loginModel";
import { Guild } from "@/src/models/guildModel";
import { handleGuildGoalProgress } from "@/src/services/guildService";
import { Types } from "mongoose";