From 56b98c278f9fb6835f22cfb581cefc95f1cb9b0d Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 27 Jan 2024 01:41:30 -0500 Subject: [PATCH] fix api auth path --- boofilsic/urls.py | 1 - catalog/search/typesense.py | 1 - developer/templates/console.html | 4 ++-- developer/urls.py | 10 +++++----- journal/models/shelf.py | 1 - 5 files changed, 7 insertions(+), 10 deletions(-) diff --git a/boofilsic/urls.py b/boofilsic/urls.py index fba8345c..b0be01c7 100644 --- a/boofilsic/urls.py +++ b/boofilsic/urls.py @@ -47,7 +47,6 @@ urlpatterns = [ path("", include("legacy.urls")), path("", include("developer.urls")), path("", include("takahe.urls")), - # path("oauth/", include("oauth2_provider.urls", namespace="oauth2_provider")), path("tz_detect/", include("tz_detect.urls")), path(settings.ADMIN_URL + "/", admin.site.urls), path(settings.ADMIN_URL + "-rq/", include("django_rq.urls")), diff --git a/catalog/search/typesense.py b/catalog/search/typesense.py index 938ebead..c4f43441 100644 --- a/catalog/search/typesense.py +++ b/catalog/search/typesense.py @@ -367,7 +367,6 @@ class Indexer: try: r = cls.instance().documents.search(options) - # pprint(r) results.items = list( [ x diff --git a/developer/templates/console.html b/developer/templates/console.html index 7bacb42c..8d4a666c 100644 --- a/developer/templates/console.html +++ b/developer/templates/console.html @@ -62,7 +62,7 @@
1. Guide your user to open this URL 2. Once authorizated by user, it will redirect to https://example.org/callback with a code parameter: 3. Obtain access token with the following POST request: