mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-26 10:11:00 +00:00
Fix polls endpoint close #1489
This commit is contained in:
parent
9ed785db0e
commit
9e43dc3f6f
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ public enum Polls: Endpoint {
|
||||||
public func path() -> String {
|
public func path() -> String {
|
||||||
switch self {
|
switch self {
|
||||||
case let .poll(id):
|
case let .poll(id):
|
||||||
return "polls/\(id)/"
|
return "polls/\(id)"
|
||||||
case let .vote(id, _):
|
case let .vote(id, _):
|
||||||
return "polls/\(id)/votes"
|
return "polls/\(id)/votes"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue