From dae14fdfed06d00c42fa68f4b1ce0b4629a81811 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eirik=20M=C3=A5seidv=C3=A5g?= Date: Fri, 21 May 2021 23:52:05 +0200 Subject: [PATCH] Make newTeamId not required field --- src/history/team/switch/TeamHistorySwitch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/history/team/switch/TeamHistorySwitch.ts b/src/history/team/switch/TeamHistorySwitch.ts index ae879df..c3f2f6f 100644 --- a/src/history/team/switch/TeamHistorySwitch.ts +++ b/src/history/team/switch/TeamHistorySwitch.ts @@ -19,7 +19,7 @@ export default class TeamHistorySwitch extends History { * The ID of the team the user switched to * @public */ - public readonly newTeamId: string + public readonly newTeamId: string | undefined /** * The ID of the team the user switched from