mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Fixing user info api endpoint url.
This commit is contained in:
parent
84ac077a9d
commit
63445dbe77
2 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ urlpatterns = patterns('',
|
|||
url(r'^unfollow_twitter_account/?$', views.unfollow_twitter_account, name='social-unfollow-twitter'),
|
||||
|
||||
# Django OAuth Toolkit
|
||||
url(r'^authorize/?$', op_views.AuthorizationView.as_view(), name="ifttt-authorize"),
|
||||
url(r'^token/?$', op_views.TokenView.as_view(), name="ifttt-token"),
|
||||
url(r'^oauth2/authorize/?$', op_views.AuthorizationView.as_view(), name="ifttt-authorize"),
|
||||
url(r'^oauth2/token/?$', op_views.TokenView.as_view(), name="ifttt-token"),
|
||||
url(r'^user/info/?$', views.api_user_info, name="ifttt-user-info"),
|
||||
)
|
||||
|
|
2
urls.py
2
urls.py
|
@ -56,7 +56,7 @@ urlpatterns = patterns('',
|
|||
url(r'^account/logout/?$',
|
||||
'django.contrib.auth.views.logout',
|
||||
{'next_page': '/'}, name='logout'),
|
||||
url(r'^account/ifttt/v1/oauth2/', include('apps.oauth.urls')),
|
||||
url(r'^account/ifttt/v1/', include('apps.oauth.urls')),
|
||||
url(r'^account/', include('oauth2_provider.urls', namespace='oauth2_provider')),
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue