Fixed release merge order.
This commit is contained in:
parent
46cadcb8e5
commit
09ea3125df
|
@ -1,5 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
// const config = require('config');
|
||||
const Promise = require('bluebird');
|
||||
const UrlPattern = require('url-pattern');
|
||||
const moment = require('moment');
|
||||
|
|
|
@ -66,8 +66,8 @@ async function scrapeRelease(source, basicRelease = null, type = 'scene') {
|
|||
|
||||
return {
|
||||
url,
|
||||
...scrapedRelease,
|
||||
...release,
|
||||
...scrapedRelease,
|
||||
...(scrapedRelease && release?.tags && {
|
||||
tags: release.tags.concat(scrapedRelease.tags),
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue