We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bc23e3 commit 9a96523Copy full SHA for 9a96523
1 file changed
README.md
@@ -435,7 +435,7 @@ unsplash.search.photos({ query: 'dogs' }).then(result => {
435
if (result.type === 'success') {
436
const firstPhoto = result.response.results[0];
437
unsplash.photos.trackDownload({
438
- downloadLocation: photo.links.download_location,
+ downloadLocation: firstPhoto.links.download_location,
439
});
440
}
441
0 commit comments