Skip to content

Commit fd74dd2

Browse files
committed
fix minor bug with exception handling
1 parent 858768f commit fd74dd2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

paystack/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ def get_authentication_class():
1919
try:
2020
return getattr(settings, "REST_FRAMEWORK")["DEFAULT_AUTHENTICATION_CLASSES"]
2121

22-
except KeyError:
22+
except Exception:
2323
return (TokenAuthentication,)

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = django-rest-paystack
3-
version = 2.2.1
3+
version = 2.2.2
44
author = Nyior Clement
55
author-email = cnyior27@gmail.com
66
description = A minimal SDK for integrating Paystack into your django-rest API backend.

0 commit comments

Comments
 (0)