Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerexbcd committed Jan 14, 2025
2 parents c63dc43 + afea69d commit 6ed1048
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions inventree_kofi/kofi_Plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,9 @@ def receive(self, request):
except Exception as e:
return JsonResponse({"error": str(e)}, status=500)

# Plugin URLs
def setup_urls(self):
"""URLs for app."""
setattr(receive, 'auth_exempt', True)

setattr(self.receive, 'auth_exempt', True)

return [
path(f"kofi/", self.receive, name="kofiWebhook"),
urls = [
path(f"kofi/", receive, name="kofiWebhook"),
]

2 changes: 1 addition & 1 deletion inventree_kofi/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Version information for the plugin"""

PLUGIN_VERSION = "0.0.5"
PLUGIN_VERSION = "0.0.6"

0 comments on commit 6ed1048

Please sign in to comment.