Skip to content

Commit

Permalink
[fix] FbGraph: Fix for login permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Glondu committed Oct 28, 2011
1 parent 85e76f1 commit d7352df
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions stdlib/apis/facebook/rest/rest.opa
Original file line number Diff line number Diff line change
Expand Up @@ -932,11 +932,7 @@ FbRest = {{
expires = loc_int("expires");
secret = loc_string("secret");
} :FbRest.session
perms = API_libs_private.parse_json(perms)
perms = JsonOpa.to_list(perms) ? []
aux(elt) = JsonOpa.to_string(elt) ? ""
perms = List.map(aux, perms)

perms = String.explode(",", perms)
(session, perms)

/**
Expand Down

0 comments on commit d7352df

Please sign in to comment.