Fix Unsplash

master
Skylar Ittner 5 years ago
parent cbf36ebafa
commit 3a08a2e50c

10
composer.lock generated

@ -742,16 +742,16 @@
}, },
{ {
"name": "unsplash/unsplash", "name": "unsplash/unsplash",
"version": "2.4.3", "version": "2.4.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/unsplash/unsplash-php.git", "url": "https://github.com/unsplash/unsplash-php.git",
"reference": "7c6fed642cf4234545624a1263d57c9cb0970fbf" "reference": "af907f6192bfd4be9e9814a1242942442604c4de"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/unsplash/unsplash-php/zipball/7c6fed642cf4234545624a1263d57c9cb0970fbf", "url": "https://api.github.com/repos/unsplash/unsplash-php/zipball/af907f6192bfd4be9e9814a1242942442604c4de",
"reference": "7c6fed642cf4234545624a1263d57c9cb0970fbf", "reference": "af907f6192bfd4be9e9814a1242942442604c4de",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -797,7 +797,7 @@
} }
], ],
"description": "Wrapper to access the Unsplash API and photo library", "description": "Wrapper to access the Unsplash API and photo library",
"time": "2018-03-30T17:45:15+00:00" "time": "2019-02-05T18:27:04+00:00"
} }
], ],
"packages-dev": [], "packages-dev": [],

@ -13,7 +13,7 @@ dieifnotloggedin();
header('Content-Type: application/json'); header('Content-Type: application/json');
Crew\Unsplash\HttpClient::init([ Crew\Unsplash\HttpClient::init([
'applicationId' => $SETTINGS["unsplash"]["appid"], 'applicationId' => $SETTINGS["unsplash"]["accesskey"],
'secret' => $SETTINGS["unsplash"]["secretkey"], 'secret' => $SETTINGS["unsplash"]["secretkey"],
'utmSource' => $SETTINGS["unsplash"]["utmsource"] 'utmSource' => $SETTINGS["unsplash"]["utmsource"]
]); ]);

Loading…
Cancel
Save