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 {
|
||||
|
||||
constructor(name) {
|
||||
super();
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ const tableName = path.basename(__filename, '.js').toLowerCase();
|
|||
class Track extends Base {
|
||||
|
||||
constructor() {
|
||||
|
||||
super();
|
||||
}
|
||||
|
||||
isValid() {
|
||||
|
|
|
@ -8,6 +8,7 @@ const tableName = path.basename(__filename, '.js').toLowerCase();
|
|||
class TrackToAlbum {
|
||||
|
||||
constructor(track, album) {
|
||||
super();
|
||||
this.track = track;
|
||||
this.album = album;
|
||||
}
|
||||
|
|
|
@ -8,6 +8,7 @@ const tableName = path.basename(__filename, '.js').toLowerCase();
|
|||
class TrackToArtist {
|
||||
|
||||
constructor(track, artist) {
|
||||
super();
|
||||
this.track = track;
|
||||
this.artist = artist;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue