Skip to content

Commit b8ba777

Browse files
committedFeb 19, 2025
[Fix] Authorization header format for DAREG
1 parent 2c2fea7 commit b8ba777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎app/dareg.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def register_dataset(self, space_name: str, description: str,
3737
"onedata_dataset_id": dataset_id,
3838
"project": self.project
3939
}
40-
auth = f"Bearer {self.token}"
40+
auth = f"Token {self.token}"
4141

4242
headers = {
4343
"Authorization": auth,

0 commit comments

Comments
 (0)
Please sign in to comment.