packages/api/src/modules/account/resolvers/Query/sphere.ts
import { Prisma, SphereWhereUniqueInput } from '@spherehq/database' import { fragmentWithArgs } from '../../../../utils' Similar blocks of code found in 2 locations. Consider refactoring.export const SphereResolver = ( _: any, args: { where: SphereWhereUniqueInput }, context: { db: Prisma }, info,) => context.db.sphere(args.where).$fragment(fragmentWithArgs(info))