File tree Expand file tree Collapse file tree 3 files changed +3
-8
lines changed
Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,6 @@ export function withPagination<TItem extends ClassType>(TItemClass: TItem) {
1313 @Field ( ( ) => Int , { nullable : true } )
1414 first ?: number ;
1515
16- @Field ( ( ) => Int , { nullable : true } )
17- first ?: number ;
18-
1916 @Field ( ( ) => Int , { nullable : true } )
2017 offset ?: number ;
2118 }
Original file line number Diff line number Diff line change @@ -12,11 +12,7 @@ const AllowlistRecordBaseResolver = createBaseResolver("allowlistRecord");
1212class AllowlistRecordResolver extends AllowlistRecordBaseResolver {
1313 @Query ( ( ) => GetAllowlistRecordResponse )
1414 async allowlistRecords ( @Args ( ) args : GetAllowlistRecordsArgs ) {
15- const res = await this . getAllowlistRecords ( args ) ;
16-
17- const data = Array . isArray ( res ) ? res : [ ] ;
18-
19- return { data, count : data . length } ;
15+ return await this . getAllowlistRecords ( args ) ;
2016 }
2117}
2218
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ export class SupabaseCachingService {
9090 > ( tableName : T , args : BaseArgs < A > ) {
9191 switch ( tableName ) {
9292 case "allowlist_records" :
93+ case "claimable_fractions_with_proofs" :
9394 return this . db
9495 . selectFrom ( "claimable_fractions_with_proofs" )
9596 . selectAll ( ) ;
@@ -152,6 +153,7 @@ export class SupabaseCachingService {
152153 > ( tableName : T , args : BaseArgs < A > ) {
153154 switch ( tableName ) {
154155 case "allowlist_records" :
156+ case "claimable_fractions_with_proofs" :
155157 return this . db
156158 . selectFrom ( "claimable_fractions_with_proofs" )
157159 . select ( ( expressionBuilder ) => {
You can’t perform that action at this time.
0 commit comments