Skip to content

Commit

Permalink
[fix] 방송정보 api nickname 리턴 (#144)
Browse files Browse the repository at this point in the history
fix: nickname 리턴
  • Loading branch information
jmhee28 authored Dec 6, 2023
1 parent 2465967 commit c5d2a4d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export class ReadStreamDetailDto {
readonly userId: string;
readonly nickname: string;
readonly title: string;
readonly category: string;
readonly viewer: number;
Expand Down
2 changes: 2 additions & 0 deletions server/api-server/src/streams/streams.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export class StreamsService {

return {
userId: user.userId,
nickname: user.nickname,
title: user.stream.title,
category: user.stream.category,
...videoInfo,
Expand Down Expand Up @@ -71,6 +72,7 @@ export class StreamsService {

return {
userId,
nickname: user.nickname,
title: user.stream.title,
category: user.stream.category,
desc: user.stream.desc,
Expand Down
Empty file.

0 comments on commit c5d2a4d

Please sign in to comment.