mirror of
https://github.com/strapi/strapi.git
synced 2025-10-02 03:44:24 +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() {
|
async integrityCheck() {
|
||||||
const sourceMetadata = await this.sourceProvider.getMetadata();
|
const sourceMetadata = await this.sourceProvider.getMetadata();
|
||||||
const destinationMetadata = await this.destinationProvider.getMetadata();
|
const destinationMetadata = await this.destinationProvider.getMetadata();
|
||||||
@ -648,10 +646,10 @@ class TransferEngine<
|
|||||||
} catch (error) {
|
} catch (error) {
|
||||||
// if this is a schema matching error
|
// if this is a schema matching error
|
||||||
if (error instanceof TransferEngineValidationError && error.details?.details?.diffs) {
|
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 = {
|
const context = {
|
||||||
diffs: this.#schemaDiffs,
|
diffs: schemaDiffs,
|
||||||
source: this.sourceProvider,
|
source: this.sourceProvider,
|
||||||
destination: this.destinationProvider,
|
destination: this.destinationProvider,
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user