Skip to content

Commit

Permalink
Fix enterprise views
Browse files Browse the repository at this point in the history
  • Loading branch information
nas-tabchiche committed Oct 16, 2024
1 parent 8819be1 commit e7aac8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enterprise/backend/enterprise_core/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from rest_framework.parsers import FileUploadParser
from rest_framework.permissions import AllowAny
from rest_framework.response import Response
from rest_framework.views import
from rest_framework.views import APIView

from django.conf import settings

Expand Down Expand Up @@ -164,7 +164,7 @@ def upload_favicon(self, request, pk):
return self.handle_file_upload(request, pk, "favicon")


class LicenseStatusView():
class LicenseStatusView(APIView):
def get(self, request):
expiry_date_str = settings.LICENSE_EXPIRATION

Expand Down

0 comments on commit e7aac8d

Please sign in to comment.