mirror of
https://github.com/narrrl/holy-flavor-rater.git
synced 2026-11-04 00:47:02 +01:00
fixed ts error for banner tab
This commit is contained in:
1 parent
0a345283fc
commit
da2e52b216
1 file changed
+1
@@ -689,6 +689,7 @@ class BannerViewSet(viewsets.ModelViewSet):
|
||||
queryset = Banner.objects.all()
|
||||
serializer_class = BannerSerializer
|
||||
permission_classes = [permissions.IsAuthenticatedOrReadOnly]
|
||||
pagination_class = None
|
||||
|
||||
def get_permissions(self):
|
||||
if self.action in ['list', 'retrieve', 'active']:
|
||||
|
||||
Reference in new issue
Block a user