invited: async (invited) => {
        try {
          const client = await pool.connect();
          const { rows } = await client.query(
            'SELECT * FROM invite WHERE user_to_id = $1',