Skip to content

Commit 7f452c2

Browse files
codedsuniamareebjamal
authored andcommitted
fix: Removed decorator from stripe-authorizations (#6627)
1 parent 9d8a848 commit 7f452c2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/api/stripe_authorization.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ def after_create_object(self, stripe_authorization, data, view_kwargs):
7070
save_to_db(event)
7171

7272
schema = StripeAuthorizationSchema
73-
decorators = (api.has_permission('is_coorganizer', fetch="event_id",
74-
fetch_as="event_id", model=StripeAuthorization),)
7573
methods = ['POST']
7674
data_layer = {'session': db.session,
7775
'model': StripeAuthorization,

0 commit comments

Comments
 (0)