Skip to content

Commit

Permalink
⚡️ :: [#508] FAQ Domain API 수정사항 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
KangTaeHoon committed Jun 9, 2024
1 parent 95a5f40 commit 83fa83c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Projects/App/Support/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@
<string>$(WMDOMAIN_NOTICE)</string>
<key>WMDOMAIN_PLAYLIST</key>
<string>$(WMDOMAIN_PLAYLIST)</string>
<key>WMDOMAIN_QNA</key>
<string>$(WMDOMAIN_QNA)</string>
<key>WMDOMAIN_FAQ</key>
<string>$(WMDOMAIN_FAQ)</string>
<key>WMDOMAIN_SONGS</key>
<string>$(WMDOMAIN_SONGS)</string>
<key>WMDOMAIN_USER</key>
Expand Down
4 changes: 2 additions & 2 deletions Projects/Domains/BaseDomain/Sources/WMAPI/SecretURL.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ public func WMDOMAIN_LIKE() -> String {
return config(key: "WMDOMAIN_LIKE")
}

public func WMDOMAIN_QNA() -> String {
return config(key: "WMDOMAIN_QNA")
public func WMDOMAIN_FAQ() -> String {
return config(key: "WMDOMAIN_FAQ")
}

public func WMDOMAIN_NOTICE() -> String {
Expand Down
2 changes: 1 addition & 1 deletion Projects/Domains/BaseDomain/Sources/WMAPI/WMAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ extension WMDomain {
case .naver:
return "/v1/nid/me"
case .faq:
return WMDOMAIN_QNA()
return WMDOMAIN_FAQ()
case .notice:
return WMDOMAIN_NOTICE()
case .app:
Expand Down
4 changes: 2 additions & 2 deletions Projects/Domains/FaqDomain/Sources/API/FaqAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ public enum FaqAPI {

extension FaqAPI: WMAPI {
public var domain: WMDomain {
.faq
return .faq
}

public var urlPath: String {
switch self {
case .fetchFaqCategories:
return "/categories"
case .fetchFaq:
return ""
return "/list"
}
}

Expand Down

0 comments on commit 83fa83c

Please sign in to comment.