Fix org kick

This commit is contained in:
cuom1999 2022-05-30 03:14:02 -05:00
parent 5c9acd0bf1
commit e269a4d63f

View file

@ -643,6 +643,7 @@ class AddOrganizationMember(
class KickUserWidgetView( class KickUserWidgetView(
LoginRequiredMixin, AdminOrganizationMixin, SingleObjectMixin, View LoginRequiredMixin, AdminOrganizationMixin, SingleObjectMixin, View
): ):
model = Organization
def post(self, request, *args, **kwargs): def post(self, request, *args, **kwargs):
organization = self.get_object() organization = self.get_object()
try: try: