Skip to content

Commit

Permalink
Make food items nullable in apiRequests.ts as well
Browse files Browse the repository at this point in the history
Mostly out of laIziness (idk if backend truly would enjoy receiving a null) but it's in line with Discord events
  • Loading branch information
SheepTester authored Oct 25, 2024
1 parent 0055379 commit f6f09c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/types/apiRequests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export interface OptionalEventProperties {
requiresStaff?: boolean;
staffPointBonus?: number;
discordEvent: string | null;
foodItems?: string;
foodItems?: string | null;
}

export interface Event extends OptionalEventProperties {
Expand Down

0 comments on commit f6f09c4

Please sign in to comment.