Skip to content

Commit a8d6dd4

Browse files
committed
fix: update authentication class in GetUrlView to AllTokenAuth
1 parent 23ad188 commit a8d6dd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/oss/views/file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def delete(self, request: Request, file_id: str):
6868

6969

7070
class GetUrlView(APIView):
71-
authentication_classes = [TokenAuth]
71+
authentication_classes = [AllTokenAuth]
7272

7373
@extend_schema(
7474
methods=['GET'],

0 commit comments

Comments
 (0)