@shisyamo4131/air-guard-v2-schemas 2.0.2-dev.0 → 2.0.2-dev.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shisyamo4131/air-guard-v2-schemas",
3
- "version": "2.0.2-dev.0",
3
+ "version": "2.0.2-dev.2",
4
4
  "description": "Schemas for AirGuard V2",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -451,7 +451,7 @@ export default class SiteOperationSchedule extends Operation {
451
451
  } else {
452
452
  // const firestore = this.constructor.getAdapter().firestore;
453
453
  // await runTransaction(firestore, performTransaction);
454
- await this.runTransaction(performTransaction);
454
+ await this.constructor.runTransaction(performTransaction);
455
455
  }
456
456
  } catch (error) {
457
457
  this.undo();
@@ -486,7 +486,7 @@ export default class SiteOperationSchedule extends Operation {
486
486
  } else {
487
487
  // const firestore = this.constructor.getAdapter().firestore;
488
488
  // await runTransaction(firestore, performTransaction);
489
- await this.runTransaction(performTransaction);
489
+ await this.constructor.runTransaction(performTransaction);
490
490
  }
491
491
  } catch (error) {
492
492
  throw new ContextualError(error.message, {