Welcome to the Linux Foundation Forum!

CH7-Lab1 found issue

I think there is issue with the brand-service.js responds with JSON data in the following format:{ id: number , name:'string'}
- got(${brandtSrvUrl}/1).json() should return { id: 1 , name:'some name'}
but I got {"id":1}
result run validate.js always


  • xdxmxc
    xdxmxc Posts: 110

    the correct data has the shape { id, brand, color } not { id, name }

  • "The brand property of the Boat service output corresponds to the id of the Brand service entities"

    boat = { id, brand, color } // brand is a number and we need to get brand info


Upcoming Training