mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Fix imports triggering verification when below threshold
no issue Swapped the variable names for importSize and importThreshold
This commit is contained in:
parent
6d38a66662
commit
c9ac6deb9b
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ const processImport = async (options) => {
|
|||
delete result.meta.originalImportSize;
|
||||
|
||||
const importThreshold = await verificationTrigger.getImportThreshold();
|
||||
if (importThreshold > importSize) {
|
||||
if (importSize > importThreshold) {
|
||||
await verificationTrigger.startVerificationProcess({
|
||||
amountImported: importSize,
|
||||
throwOnTrigger: true
|
||||
|
|
Loading…
Reference in a new issue