fixed call to 'super()'
This commit is contained in:
parent
89aafe49e8
commit
c8ccd0786c
4 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ const tableName = path.basename(__filename, '.js').toLowerCase();
|
||||||
class Track extends Base {
|
class Track extends Base {
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
|
super();
|
||||||
}
|
}
|
||||||
|
|
||||||
isValid() {
|
isValid() {
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue