src/endpoints/block-list.ts
Function resolve
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public async resolve(obj: any, args: any): Promise<any> {
const cursor = args.cursor as string | undefined
const cursorBuffer = cursor ? bs58.decode(cursor) : undefined
const result = await this.originBlockRepository.getOriginBlocks(
args.limit as number,