Skip to content

Commit

Permalink
♻️ :: [#434] 블럭 들여쓰기
Browse files Browse the repository at this point in the history
  • Loading branch information
KangTaeHoon committed Mar 7, 2024
1 parent b05b1a3 commit 0481857
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Projects/Domains/ArtistDomain/Sources/ArtistAPI/ArtistAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,14 @@ extension ArtistAPI: WMAPI {
case .fetchArtistList:
return .requestPlain
case let .fetchArtistSongList(id, sort, page):
return .requestParameters(parameters: [
"id": id,
"sort": sort.rawValue,
"start": (page == 1) ? 0 : (page - 1) * 30
], encoding: URLEncoding.queryString)
return .requestParameters(
parameters: [
"id": id,
"sort": sort.rawValue,
"start": (page == 1) ? 0 : (page - 1) * 30
],
encoding: URLEncoding.queryString
)
}
}

Expand Down

0 comments on commit 0481857

Please sign in to comment.