( request: WhatsOffRequest, )
| 375 | } |
| 376 | |
| 377 | export const getWhatsOff = async ( |
| 378 | request: WhatsOffRequest, |
| 379 | ): Promise<WhatsOff> => { |
| 380 | const { whatsOff } = await gqlClient.request<{ whatsOff: WhatsOff }>( |
| 381 | WHATS_OFF_QUERY, |
| 382 | request, |
| 383 | ); |
| 384 | |
| 385 | return whatsOff; |
| 386 | }; |