Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Updated query.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Catera committed Oct 19, 2012
1 parent 3c5bb67 commit f0af949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/dev_guide/code_exs/binding_events.rst
Expand Up @@ -811,7 +811,7 @@ To set up and run ``binding_events``:
Y.log('IMAGE ID: ' + imageId);
target.addClass('overlayed');
// Query for the image metadata
var query = 'select * from flickr.photos.info where photo_id="' + imageId + '"';
var query = 'select * from flickr.photos.info where photo_id="' + imageId + '" and api_key="' + API_KEY + '"';
thatNode.one('#display').setContent('Loading ...');
Y.YQL(query, function(raw) {
if (!raw.query.results.photo) {
Expand Down

0 comments on commit f0af949

Please sign in to comment.