mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-01 15:29:19 +03:00
Fix imports triggering verification when below threshold
no issue Swapped the variable names for importSize and importThreshold
This commit is contained in:
parent
77f2acaf65
commit
c3eb3cd567
@ -60,7 +60,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 New Issue
Block a user