Home > @infiniteobjects/models > PrintButtonPlatformConfigModel > beforeUpdate
Runs before updating the platform
Signature:
/** @override */
beforeUpdate(): Promise<void>;
Returns:
Promise<void>
- Updates the variants to match the configuration. - Checks if the status is higher than PROVISIONING and sets it to ERRORED if the variants are not correct - Checks if the status is PROVISIONING and ensures the variants match the the payout type