Skip to content

Commit

Permalink
fix: interceptor async
Browse files Browse the repository at this point in the history
  • Loading branch information
etienne-bechara committed Sep 2, 2022
1 parent 6ee995d commit ed627ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/orm/orm.interceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ export class OrmInterceptor implements NestInterceptor {
return next
.handle()
.pipe(
mergeMap((data) => {
// eslint-disable-next-line @typescript-eslint/require-await
mergeMap(async (data) => {
return this.stringifyEntities(data);
}),
);
Expand Down

0 comments on commit ed627ac

Please sign in to comment.