web: Fixed construction of SourceAPI ignoring the provided name

This commit is contained in:
Nathan Adams 2020-05-12 23:36:51 +02:00 committed by Mike Welsh
parent 077c3ec973
commit 6ec77e0ca2
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ export class SourceAPI {
* @param {string} source_name The name of this particular source.
*/
constructor(source_name) {
this.name = name;
this.name = source_name;
}
get version() {