import { GetServerSideProps , getSession , Ctx } from "blitz" ; const getCurrentUserServer = async ( _ = null , { session } ) => { const privateData = session . $getPrivateData ( ) ; return privateData ; } ; export default getCurrentUserServer ;