Browse Source

Merge pull request #324 from xq262144/master

[desktop] Fix oauth_authentication_time metric decorator typo in liboauth
Romain Rigaux 9 năm trước cách đây
mục cha
commit
82c0e00ccd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      desktop/libs/liboauth/src/liboauth/backend.py

+ 1 - 1
desktop/libs/liboauth/src/liboauth/backend.py

@@ -48,7 +48,7 @@ LOG = logging.getLogger(__name__)
 
 class OAuthBackend(DesktopBackendBase):
 
-  @metrics.oauth_authentication_time
+  @liboauth.metrics.oauth_authentication_time
   def authenticate(self, access_token):
     username = access_token['screen_name']
     password = access_token['oauth_token_secret']