import { adaptExpressRoute as adapt } from '@/main/adapters' ; import { makeFacebookLoginController } from '@/main/factories/application/controllers' ; import { Router } from 'express' ; export default ( router ) : void => { router . post ( '/login/facebook' , adapt ( makeFacebookLoginController ( ) ) ) ; } ;