mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
remove schemaDiffs class property
This commit is contained in:
parent
46fc2b4ae8
commit
c0d9b62fad
@ -625,8 +625,6 @@ class TransferEngine<
|
||||
}
|
||||
}
|
||||
|
||||
#schemaDiffs: Record<string, Diff[]> = {};
|
||||
|
||||
async integrityCheck() {
|
||||
const sourceMetadata = await this.sourceProvider.getMetadata();
|
||||
const destinationMetadata = await this.destinationProvider.getMetadata();
|
||||
@ -648,10 +646,10 @@ class TransferEngine<
|
||||
} catch (error) {
|
||||
// if this is a schema matching error
|
||||
if (error instanceof TransferEngineValidationError && error.details?.details?.diffs) {
|
||||
this.#schemaDiffs = error.details?.details?.diffs as Record<string, Diff[]>;
|
||||
const schemaDiffs = error.details?.details?.diffs as Record<string, Diff[]>;
|
||||
|
||||
const context = {
|
||||
diffs: this.#schemaDiffs,
|
||||
diffs: schemaDiffs,
|
||||
source: this.sourceProvider,
|
||||
destination: this.destinationProvider,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user