diff options
Diffstat (limited to 'src/cleaners/skyblock/coopInvitation.ts')
-rw-r--r-- | src/cleaners/skyblock/coopInvitation.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cleaners/skyblock/coopInvitation.ts b/src/cleaners/skyblock/coopInvitation.ts index 6aa8803..0188772 100644 --- a/src/cleaners/skyblock/coopInvitation.ts +++ b/src/cleaners/skyblock/coopInvitation.ts @@ -10,9 +10,10 @@ export interface CoopInvitation { acceptedTimestamp: number | null } -export async function cleanCoopInvitation(data: typedHypixelApi.SkyBlockProfileMember): Promise<CoopInvitation | null> { +export async function cleanCoopInvitation(data: typedHypixelApi.SkyBlockProfileMember, uuid: string): Promise<CoopInvitation | null> { if (!data.coop_invitation) return null + return { invitedTimestamp: data.coop_invitation.timestamp, invitedBy: await cached.fetchBasicPlayer(data.coop_invitation.invited_by, false), |