]> gitweb.factorcode.org Git - factor.git/commitdiff
google.gmail: no need for symbol wrapping here
authorBjörn Lindqvist <bjourne@gmail.com>
Tue, 18 Oct 2016 06:10:00 +0000 (08:10 +0200)
committerBjörn Lindqvist <bjourne@gmail.com>
Tue, 18 Oct 2016 06:10:00 +0000 (08:10 +0200)
extra/google/gmail/gmail.factor

index b518c22d87e8ba56acc2128f613f1cbc4901930e..9791eb2e852225a3e18aaed29437c07d2517cd4d 100644 (file)
@@ -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 )