Skip to content

Commit

Permalink
[feat] MyPageItem url 추가 (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
BAEKYUJEONG committed Aug 30, 2024
1 parent f912847 commit 90880f0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions PLUV/Platform/State/MyPageItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,17 @@ enum MyPageItem: Int, CaseIterable {
"로그아웃"
}
}

var url: String {
switch self {
case .Inquiry:
EndPoint.inquiry.path
case .TermsOfService:
EndPoint.termsOfService.path
case .PrivacyPolicy:
EndPoint.privacyPolicy.path
case .LogOut:
""
}
}
}

0 comments on commit 90880f0

Please sign in to comment.