import { QueryToOauthClientResolver } from 'definitions' ; const resolver = async ( root , { input : { id } } , { viewer , dataSources : { oauthService } } ) => { return oauthService . findClient ( { clientId : id } ) ; } ; export default resolver ;