Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix error copying to separate project

  • Loading branch information...
commit 5aa06a37c066a54772672514975c631b6c73470b 1 parent 71dd757
= authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  index.js
  2. +2 −2 package.json
View
2  index.js
@@ -74,7 +74,7 @@ exports.search = function(opts){
opts.type = opts.type || "square";
if(typeof opts.access_token !== "string" && typeof opts.access_token !== "function") throw "You must provide an access token to use facebookSearch";
- var getPhoto = exports.strategies.facebook({fb:"id", type:opts.type});
+ var getPhoto = exports.id({fb:"id", type:opts.type});
return function (user, callback){
var token = "";
View
4 package.json
@@ -1,6 +1,6 @@
{
"name": "passport-photo-facebook",
- "version": "0.0.1-beta1",
+ "version": "0.0.1-beta2",
"description": "Passport-Photo strategies for retrieving facebook profile pictures.",
"main": "./index",
"repository": {
@@ -10,4 +10,4 @@
"dependencies": {
"request":"2.9.x"
}
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.