Skip to content

Commit

Permalink
Merge pull request #38 from thefuntasty/fix/cococapods-import-warnings
Browse files Browse the repository at this point in the history
Fix import warnings in CocoaPods
  • Loading branch information
mkj-is authored Jul 2, 2019
2 parents 86bb11e + 7493135 commit b7e837d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Sources/FTAPIKitPromiseKit/APIAdapter+PromiseKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
//

import PromiseKit
import FTAPIKit
import Foundation
#if !COCOAPODS
import FTAPIKit
#endif

extension APIAdapter {
public func request<Endpoint: APIResponseEndpoint>(response endpoint: Endpoint) -> Promise<Endpoint.Response> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
//

import PromiseKit
import FTAPIKit
import Foundation
#if !COCOAPODS
import FTAPIKit
#endif

public struct APIDataTask<T> {
public let sessionTask: Guarantee<URLSessionTask?>
Expand Down

0 comments on commit b7e837d

Please sign in to comment.