Skip to content

Commit 8ece2eb

Browse files
committed
CMR-10388: Checking return type from access control
1 parent 743bcba commit 8ece2eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

subscription/src/access_control.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ def has_read_permission(self, subscriber_id, collection_concept_id):
111111
try:
112112
# Call the get_permissions function
113113
permissions = self.get_permissions(subscriber_id, collection_concept_id)
114-
logger.info(f"The type of object the permissions is: {type(permissions)})
115-
logger.info(f"If its json then turn it into a Dictionary: {json.load(permissions)})
114+
logger.info(f"The type of object the permissions is: {type(permissions)}")
115+
logger.info(f"If its json then turn it into a Dictionary: {json.load(permissions)}")
116116

117117

118118
# Check if the permissions is a dictionary

0 commit comments

Comments
 (0)