Browse Source

fix: missing async

Karol Sójko 3 years ago
parent
commit
e6295ed764
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/scheduler/src/Infra/MySQL/MySQLPredicateRepository.ts

+ 1 - 1
packages/scheduler/src/Infra/MySQL/MySQLPredicateRepository.ts

@@ -12,7 +12,7 @@ export class MySQLPredicateRepository implements PredicateRepositoryInterface {
     private ormRepository: Repository<Predicate>,
   ) {}
 
-  save(predicate: Predicate): Promise<Predicate> {
+  async save(predicate: Predicate): Promise<Predicate> {
     return this.ormRepository.save(predicate)
   }