Fixed release merge order.

This commit is contained in:
ThePendulum 2020-02-01 03:30:11 +01:00
parent 46cadcb8e5
commit 09ea3125df
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
'use strict';
// const config = require('config');
const Promise = require('bluebird');
const UrlPattern = require('url-pattern');
const moment = require('moment');

View File

@ -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),
}),