File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 44"""BioCompute Object APIs
55"""
66
7+ from authentication .services import CustomJSONWebTokenAuthentication
78from biocompute .services import (
89 BcoDraftSerializer ,
910 BcoValidator ,
@@ -664,7 +665,7 @@ class PublishedRetrieveApi(APIView):
664665 Specifies the version of the BCO to be retrieved.
665666 """
666667
667- authentication_classes = []
668+ authentication_classes = [CustomJSONWebTokenAuthentication ]
668669 permission_classes = [AllowAny ]
669670
670671 @swagger_auto_schema (
@@ -697,7 +698,6 @@ class PublishedRetrieveApi(APIView):
697698
698699 def get (self , request , bco_accession , bco_version ):
699700 requester = request .user
700- print (requester )
701701 bco_instance = retrieve_bco (bco_accession , requester , bco_version )
702702 if bco_instance is False :
703703 return Response (
You can’t perform that action at this time.
0 commit comments