@@ -598,18 +598,23 @@ export class CloudflareD1DB implements FeedbackFlowDB {
598598
599599 const { results } = await preparedStatement . all ( ) ;
600600
601- return results . map ( ( row ) => ( {
602- purchase : row . id as string ,
603- testerUuid : row . tester_uuid as string ,
604- date : row . date as string ,
605- order : row . order_number as string ,
606- description : row . description as string ,
607- amount : row . amount as number ,
608- refunded : Boolean ( row . refunded ) ,
609- hasFeedback : Boolean ( row . has_feedback ) ,
610- hasPublication : Boolean ( row . has_publication ) ,
611- hasRefund : Boolean ( row . has_refund ) ,
612- } ) ) ;
601+ return results . map (
602+ ( row ) =>
603+ ( {
604+ purchase : row . id as string ,
605+ testerUuid : row . tester_uuid as string ,
606+ date : row . date as string ,
607+ order : row . order_number as string ,
608+ description : row . description as string ,
609+ amount : row . amount as number ,
610+ refunded : Boolean ( row . refunded ) ,
611+ hasFeedback : Boolean ( row . has_feedback ) ,
612+ hasPublication : Boolean ( row . has_publication ) ,
613+ hasRefund : Boolean ( row . has_refund ) ,
614+ publicationScreenshot : row . publication_screenshot as string ,
615+ purchaseScreenshot : row . purchase_screenshot as string ,
616+ } ) as PurchaseStatus ,
617+ ) ;
613618 } ,
614619 } ;
615620
0 commit comments