Skip to content

Commit

Permalink
fix/#110 :: Server Decoding, Encoding 에러 해결
Browse files Browse the repository at this point in the history
Co-Authored-By: Youngkyu Song <[email protected]>
  • Loading branch information
Kiyoung-Kim-57 and youn9k committed Nov 26, 2024
1 parent 146dc24 commit 8877719
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package struct CreateRoomResponseDTO: Encodable {
let roomID: String
let userID: String
let hostID: String
}

Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func routes(_ app: Application) throws {
let ids = roomManager.createRoom(client)
let dto = CreateRoomResponseDTO(
roomID: ids.roomID,
userID: ids.userID
hostID: ids.userID
)

guard let message = dto.toData(encoder) else {
Expand Down

0 comments on commit 8877719

Please sign in to comment.