Having issues pulling data from my database and populating it (ById) onto the my Vue view (using Axios). Backend is Node/Express
问题 I know by the console that the route is pointing it to the correct Id number, but it's throwing a 404 and I'm not sure where the connection is going bad. "PrizesById" is essentially a duplicate of another route holding data called "Prizes." I wasn't sure if recreating two separate places to pull identical data would be a way to do this, as I couldn't find a way to do it for "prizes". Both are required the same way This is a sample of my prizesbyid.js (in routes) const express = require(