This commit is contained in:
parent
41aaea56f9
commit
d6b1a2371f
@ -721,7 +721,7 @@ export const addMissionInventoryUpdates = async (
|
||||
if (goal && goal.ClanGoal && inventory.GuildId) {
|
||||
const guild = await Guild.findById(inventory.GuildId, "GoalProgress Tier VaultDecoRecipes");
|
||||
if (guild) {
|
||||
handleGuildGoalProgress(guild, {
|
||||
await handleGuildGoalProgress(guild, {
|
||||
Count: uploadProgress.Count,
|
||||
Tag: goal.Tag,
|
||||
goalId: new Types.ObjectId(goal._id.$oid)
|
||||
|
@ -151,7 +151,7 @@ export const handlePurchase = async (
|
||||
const guild = await Guild.findById(inventory.GuildId, "GoalProgress Tier VaultDecoRecipes");
|
||||
const goal = getWorldState().Goals.find(x => x.Tag == "DuviriMurmurEvent");
|
||||
if (guild && goal) {
|
||||
handleGuildGoalProgress(guild, {
|
||||
await handleGuildGoalProgress(guild, {
|
||||
Count: offer.ItemPrices[0].ItemCount * purchaseRequest.PurchaseParams.Quantity,
|
||||
Tag: goal.Tag,
|
||||
goalId: new Types.ObjectId(goal._id.$oid)
|
||||
|
Loading…
x
Reference in New Issue
Block a user