···110110 if (error) throw error;
111111};
112112113113-// create a function that update expiresAt to value in auth_session
114113export const updateExpiresAt = async (db: Database) => {
115114 // get all sessions that have expiresAt is null
116115 const sessions = await db.selectFrom("auth_session").selectAll().execute();