Skip to content

Commit 4618008

Browse files
author
Bruno Trigueiro
committed
fixing syntax error
1 parent 65bab07 commit 4618008

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

core/services/bandsService.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class BandsService {
1212
this.db = db;
1313
this.albumsService = AlbumsService;
1414
}
15-
15+
1616
findAll() {
1717
return new Promise((resolve, reject) => {
1818
this.db.find({ docType: BAND }, (err, bands) => {
@@ -44,14 +44,15 @@ class BandsService {
4444
});
4545
});
4646
}
47-
47+
4848
find(_id) {
4949
return new Promise((resolve, reject) => {
5050
this.db.findOne({docType: BAND, _id}, (err, band) => {
5151
// TODO: Usar albumService.findByBand y buscar en la base de datos los artistas de la banda.
52-
52+
53+
});
5354
});
5455
}
5556
}
5657

57-
module.exports = BandsService;
58+
module.exports = BandsService;

0 commit comments

Comments
 (0)