@@ -551,10 +551,9 @@ export class DataLayer {
551
551
tags
552
552
}
553
553
metadata
554
- project: canonicalProject {
554
+ project {
555
555
tags
556
556
id
557
- metadata
558
557
anchorAddress
559
558
}
560
559
}
@@ -567,18 +566,19 @@ export class DataLayer {
567
566
) ;
568
567
569
568
return response . applications . map ( ( a : Application ) => {
569
+ const projectMetadata = a . metadata . application . project ;
570
570
return {
571
571
applicationRef : `${ a . chainId } :${ a . roundId } :${ a . id } ` ,
572
572
chainId : parseInt ( a . chainId ) ,
573
573
roundApplicationId : a . id ,
574
574
roundId : a . roundId ,
575
575
roundName : a . round . roundMetadata ?. name ,
576
576
projectId : a . project . id ,
577
- name : a . project ?. metadata ?. title ,
578
- websiteUrl : a . project ?. metadata ?. website ,
579
- logoImageCid : a . project ?. metadata ?. logoImg ?? null ,
580
- bannerImageCid : a . project ?. metadata ?. bannerImg ?? null ,
581
- summaryText : a . project ?. metadata ?. description ,
577
+ name : projectMetadata ?. title ,
578
+ websiteUrl : projectMetadata ?. website ,
579
+ logoImageCid : projectMetadata ?. logoImg ?? null ,
580
+ bannerImageCid : projectMetadata ?. bannerImg ?? null ,
581
+ summaryText : projectMetadata ?. description ,
582
582
payoutWalletAddress : a . metadata ?. application ?. recipient ,
583
583
createdAtBlock : 123 ,
584
584
contributorCount : a . uniqueDonorsCount ,
0 commit comments