discogs_importer: use MBReleaseImportHelper.URL_TYPES.discogs

This commit is contained in:
Laurent Monin 2015-06-13 00:23:45 +02:00
parent ac4e33f43d
commit 3bf4752cbc

View file

@ -429,7 +429,7 @@ function parseDiscogsRelease(data) {
// Release URL // Release URL
release.urls = new Array(); release.urls = new Array();
var release_url = getCleanUrl(discogsRelease.uri, 'release'); var release_url = getCleanUrl(discogsRelease.uri, 'release');
release.urls.push( { url: release_url, link_type: 76 } ); release.urls.push( { url: release_url, link_type: MBReleaseImportHelper.URL_TYPES.discogs } );
// Release format // Release format
var release_formats = new Array(); var release_formats = new Array();