Merge branch 'charlesmchen/reduceGiphyPageSize'

pull/1/head
Matthew Chen 7 years ago
commit 21cb4e892f

@ -327,7 +327,7 @@ extension GiphyError: LocalizedError {
// This is the Signal iOS API key. // This is the Signal iOS API key.
let kGiphyApiKey = "ZsUpUm2L6cVbvei347EQNp7HrROjbOdc" let kGiphyApiKey = "ZsUpUm2L6cVbvei347EQNp7HrROjbOdc"
let kGiphyPageSize = 200 let kGiphyPageSize = 100
let kGiphyPageOffset = 0 let kGiphyPageOffset = 0
guard let queryEncoded = query.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) else { guard let queryEncoded = query.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) else {
Logger.error("\(TAG) Could not URL encode query: \(query).") Logger.error("\(TAG) Could not URL encode query: \(query).")

Loading…
Cancel
Save