src/repositories/commentRepository.js
/**
   * @param {string} id the id of the travel request
   * @returns {string} the id of the owner of the request
   */
@param {string} id the id of the travel request
@returns {string} the id of the owner of the request
@param { string } id the id of the travel request @returns { string } the id of the owner of the request
static async findRequestOwnerId(id) {
    try {
      const result = await Comment.findAll({ where: { user_id: id } });
      return result;
    } catch (error) {
      throw error;
    }
  }
static async findRequestOwnerId ( id ) { try { const result = await Comment . findAll ( { where : { user_id : id } } ) ; return result ; } catch ( error ) { throw error ; } }
@param {string} id the id of the travel request
 @returns {string} the id of the owner of the request
@param { string } id the id of the travel request @returns { string } the id of the owner of the request