fix: missing async

This commit is contained in:
Karol Sójko 2022-06-20 09:30:54 +02:00
parent b6b06acce5
commit e6295ed764
No known key found for this signature in database
GPG key ID: A50543BF560BDEB0

View file

@ -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)
}