import cookieSession from './cookieSession' ; import cookieSessionRefresh from './cookieRefresh' ; export default function commonMiddleware ( handler ) { return cookieSession ( cookieSessionRefresh ( handler ) ) ; }