Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Pietro Caselani committed Jan 1, 2020
1 parent e309b68 commit f9feef0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions TraktSwift/Endpoints/Seasons.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public enum Seasons {
/**
Accepts, .default, .full, and .episodes for Extended
*/
case summary(showId: String, exteded: [Extended])
case summary(showId: String, extended: [Extended])
}

extension Seasons: TraktType {
Expand All @@ -17,8 +17,8 @@ extension Seasons: TraktType {

public var task: Task {
switch self {
case let .summary(_, exteded):
return .requestParameters(parameters: ["extended": exteded.separatedByComma()], encoding: URLEncoding.default)
case let .summary(_, extended):
return .requestParameters(parameters: ["extended": extended.separatedByComma()], encoding: URLEncoding.default)
}
}

Expand Down

0 comments on commit f9feef0

Please sign in to comment.