Skip to content

Commit

Permalink
put code in one line
Browse files Browse the repository at this point in the history
  • Loading branch information
ttpro1995 committed Sep 16, 2017
1 parent f61dffc commit 03d9ca6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ thecatapi.linkbuilder = function (category, apiKey, type, size) {
type = 'jpg'
}

link = link +
'type=' + type +
'&size=' + size
link = link + 'type=' + type + '&size=' + size

if (apiKey !== undefined) {
link = link + '&api_key=' + apiKey
Expand Down

0 comments on commit 03d9ca6

Please sign in to comment.