Clean up ahead of PR.

pull/1/head
Matthew Chen 7 years ago
parent 2c680cadad
commit 18d39f15f2

@ -1,5 +1,5 @@
// //
// Copyright (c) 2018 Open Whisper Systems. All rights reserved. // Copyright (c) 2017 Open Whisper Systems. All rights reserved.
// //
import Foundation import Foundation
@ -339,9 +339,8 @@ extension GiphyError: LocalizedError {
sessionManager.get(urlString, sessionManager.get(urlString,
parameters: {}, parameters: {},
progress:nil, progress:nil,
success: { task, value in success: { _, value in
Logger.error("\(GiphyAPI.TAG) search request succeeded") Logger.error("\(GiphyAPI.TAG) search request succeeded")
Logger.error("\(GiphyAPI.TAG) search request succeeded \(task.originalRequest?.url)")
guard let imageInfos = self.parseGiphyImages(responseJson:value) else { guard let imageInfos = self.parseGiphyImages(responseJson:value) else {
failure(nil) failure(nil)
return return

Loading…
Cancel
Save