From 83fa83c7bcf83781202ebb0543d8efaa800f9ff7 Mon Sep 17 00:00:00 2001 From: "pikagreen@nate.com" Date: Sun, 9 Jun 2024 22:07:06 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20::=20[#508]=20FAQ=20Domain?= =?UTF-8?q?=20API=20=EC=88=98=EC=A0=95=EC=82=AC=ED=95=AD=20=EB=B0=98?= =?UTF-8?q?=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Projects/App/Support/Info.plist | 4 ++-- Projects/Domains/BaseDomain/Sources/WMAPI/SecretURL.swift | 4 ++-- Projects/Domains/BaseDomain/Sources/WMAPI/WMAPI.swift | 2 +- Projects/Domains/FaqDomain/Sources/API/FaqAPI.swift | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Projects/App/Support/Info.plist b/Projects/App/Support/Info.plist index 0f494ed66..49e28fd81 100644 --- a/Projects/App/Support/Info.plist +++ b/Projects/App/Support/Info.plist @@ -106,8 +106,8 @@ $(WMDOMAIN_NOTICE) WMDOMAIN_PLAYLIST $(WMDOMAIN_PLAYLIST) - WMDOMAIN_QNA - $(WMDOMAIN_QNA) + WMDOMAIN_FAQ + $(WMDOMAIN_FAQ) WMDOMAIN_SONGS $(WMDOMAIN_SONGS) WMDOMAIN_USER diff --git a/Projects/Domains/BaseDomain/Sources/WMAPI/SecretURL.swift b/Projects/Domains/BaseDomain/Sources/WMAPI/SecretURL.swift index 7599a8e20..673111abd 100644 --- a/Projects/Domains/BaseDomain/Sources/WMAPI/SecretURL.swift +++ b/Projects/Domains/BaseDomain/Sources/WMAPI/SecretURL.swift @@ -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 { diff --git a/Projects/Domains/BaseDomain/Sources/WMAPI/WMAPI.swift b/Projects/Domains/BaseDomain/Sources/WMAPI/WMAPI.swift index a372ebfe3..d3f24bdb0 100644 --- a/Projects/Domains/BaseDomain/Sources/WMAPI/WMAPI.swift +++ b/Projects/Domains/BaseDomain/Sources/WMAPI/WMAPI.swift @@ -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: diff --git a/Projects/Domains/FaqDomain/Sources/API/FaqAPI.swift b/Projects/Domains/FaqDomain/Sources/API/FaqAPI.swift index 4a4465416..86c5da43c 100644 --- a/Projects/Domains/FaqDomain/Sources/API/FaqAPI.swift +++ b/Projects/Domains/FaqDomain/Sources/API/FaqAPI.swift @@ -11,7 +11,7 @@ public enum FaqAPI { extension FaqAPI: WMAPI { public var domain: WMDomain { - .faq + return .faq } public var urlPath: String { @@ -19,7 +19,7 @@ extension FaqAPI: WMAPI { case .fetchFaqCategories: return "/categories" case .fetchFaq: - return "" + return "/list" } }