fixed call to 'super()'

This commit is contained in:
Daniel Sommer 2022-06-08 15:06:38 +02:00
parent 89aafe49e8
commit c8ccd0786c
4 changed files with 4 additions and 1 deletions

View file

@ -8,6 +8,7 @@ const tableName = path.basename(__filename, '.js').toLowerCase();
class Artist extends Base { class Artist extends Base {
constructor(name) { constructor(name) {
super();
this.name = name; this.name = name;
} }

View file

@ -8,7 +8,7 @@ const tableName = path.basename(__filename, '.js').toLowerCase();
class Track extends Base { class Track extends Base {
constructor() { constructor() {
super();
} }
isValid() { isValid() {

View file

@ -8,6 +8,7 @@ const tableName = path.basename(__filename, '.js').toLowerCase();
class TrackToAlbum { class TrackToAlbum {
constructor(track, album) { constructor(track, album) {
super();
this.track = track; this.track = track;
this.album = album; this.album = album;
} }

View file

@ -8,6 +8,7 @@ const tableName = path.basename(__filename, '.js').toLowerCase();
class TrackToArtist { class TrackToArtist {
constructor(track, artist) { constructor(track, artist) {
super();
this.track = track; this.track = track;
this.artist = artist; this.artist = artist;
} }