remove unused
This commit is contained in:
@@ -22,7 +22,10 @@ export class CatalogueService {
|
||||
}
|
||||
const catalogue = this.em.create(Catalogue,
|
||||
{ ...dto, business, status: CatalogueStatus.PENDING })
|
||||
return this.em.persistAndFlush(catalogue)
|
||||
|
||||
await this.em.persistAndFlush(catalogue)
|
||||
|
||||
return catalogue
|
||||
}
|
||||
|
||||
findAll(dto: FindCataloguesDto) {
|
||||
|
||||
Reference in New Issue
Block a user