From 3329ad75bd43f76f8fbef090d7c0fc4d2bcfbf1f Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Mon, 21 Mar 2022 21:30:33 +0000 Subject: [PATCH] Fix misplaced game property. --- common/package.json | 2 +- common/src/webhooks.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/package.json b/common/package.json index 5ac4c5b91..ae7a3f170 100644 --- a/common/package.json +++ b/common/package.json @@ -1,6 +1,6 @@ { "name": "tachi-common", - "version": "0.7.0", + "version": "0.7.1", "description": "Common Types & Utilities for Tachi", "main": "js/index.js", "files": [ diff --git a/common/src/webhooks.ts b/common/src/webhooks.ts index 7ec2247fa..0821887c8 100644 --- a/common/src/webhooks.ts +++ b/common/src/webhooks.ts @@ -24,11 +24,11 @@ export interface WebhookEventGoalAchievedV1 { type: "goals-achieved/v1"; content: { userID: integer; + game: Game; goals: { goalID: string; old: GoalImportStat; new: GoalImportStat; - game: Game; playtype: Playtypes[Game]; }[]; };