Redesign home page
This commit is contained in:
1 parent
c6c8cf0ae8
commit
ef0c48ae17
31 files changed
+587
-161
No files matched your search
@@ -8,7 +8,9 @@ export const band = Router()
|
||||
|
||||
// Get all bands
|
||||
band.get("/", (req: Request, res: Response) => {
|
||||
Band.findAll()
|
||||
Band.findAll({
|
||||
include: [ Genre, Rating ]
|
||||
})
|
||||
.then(bands => {
|
||||
res.status(200).json(bands)
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user