Skip to content

Commit

Permalink
google.gmail: no need for symbol wrapping here
Browse files Browse the repository at this point in the history
  • Loading branch information
bjourne committed Oct 18, 2016
1 parent 0fe6338 commit 1715f84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extra/google/gmail/gmail.factor
Expand Up @@ -14,11 +14,11 @@ SYMBOL: access-token

: configure-oauth2 ( client-id client-secret -- )
[ auth-uri token-uri redirect-uri ] 2dip gmail-scope-ro { }
oauth2 boa \ oauth2 set ;
oauth2 boa oauth2 set ;

: ensure-token ( -- )
access-token [
[ \ oauth2 get console-flow ] unless*
[ oauth2 get console-flow ] unless*
] change ;

: api-call ( method get-params -- result )
Expand Down

0 comments on commit 1715f84

Please sign in to comment.