Skip to content

Commit

Permalink
OV-00: + logs
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiy4 committed Sep 28, 2024
1 parent 1f234fb commit 139a6cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions backend/src/bundles/public-video/public-video.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ class PublicVideoController extends BaseController {
private async findUrlByToken(
options: ApiHandlerOptions,
): Promise<ApiHandlerResponse> {
// eslint-disable-next-line no-console
console.log(options, 'options');
const headers = options.headers as Record<string, { value: string }>;
const videoTokenHeader = headers['video_token']?.toString() ?? '';
// eslint-disable-next-line no-console
Expand Down
4 changes: 0 additions & 4 deletions backend/src/bundles/videos/video.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ class VideoService implements Service {

public async findByUserId(userId: string): Promise<VideoGetAllResponseDto> {
const items = await this.videoRepository.findByUserId(userId);
// eslint-disable-next-line no-console
console.log(userId);
// eslint-disable-next-line no-console
console.log(items);

return {
items: items.map((it) => it.toObject()),
Expand Down

0 comments on commit 139a6cf

Please sign in to comment.