Skip to content

Commit

Permalink
fix(assignments-service): Don't log events
Browse files Browse the repository at this point in the history
  • Loading branch information
Clashsoft committed Sep 22, 2023
1 parent 990fa3b commit 8a757a6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion services/apps/assignments/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export function eventStream<T>(source: Observable<WsResponse<T>>, name: string):
return merge(
source.pipe(
map(({event, data}) => ({data: {event: event.substring(event.lastIndexOf('.') + 1), [name]: data}})),
tap(console.log),
),
interval(15000).pipe(mapTo({type: 'noop', data: 'noop'})),
);
Expand Down

0 comments on commit 8a757a6

Please sign in to comment.