import { ServerResponse } from "http" ; import { Routes } from "./types" ; import { clearSession , redirectToAuth } from "./utilities" ; export function loginAgainIfDifferentShop ( { shop , res , routes } ) { clearSession ( { res } ) ; redirectToAuth ( { shop , res , routes } ) ; }