]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/oauth2_token.rb
Update bundle
[rails.git] / app / models / oauth2_token.rb
index 6dd421ab13c80255f075a7a28d457cc29b1ca4c4..1e67194fef19dc5c3a88e794d1c83b528245e7b6 100644 (file)
@@ -2,7 +2,7 @@ class Oauth2Token < AccessToken
   attr_accessor :state
 
   def as_json(_options = {})
-    d = { :access_token => token, :token_type => 'bearer' }
+    d = { :access_token => token, :token_type => "bearer" }
     d[:expires_in] = expires_in if expires_at
     d
   end