import { HttpRequest } from '@marblejs/http' ; export const isAuthorized = ( request ) => request . headers . authorization || request . url . includes ( '?token' ) ? request . headers . authorization === 'Bearer FAKE' || request . url . includes ( '?token=FAKE' ) : false ;