Skip to content

Commit 4f2827e

Browse files
authored
Remove apikey| prefix for webdav clients using api keys (#60)
1 parent db4c1db commit 4f2827e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

labkey/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
# limitations under the License.
1515
#
1616
__title__ = "labkey"
17-
__version__ = "2.5.0"
17+
__version__ = "2.5.1"
1818
__author__ = "LabKey"
1919
__license__ = "Apache License 2.0"

labkey/server_context.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def webdav_client(self, webdav_options: dict = None):
143143

144144
if self._api_key is not None:
145145
options["webdav_login"] = "apikey"
146-
options["webdav_password"] = f"apikey|{self._api_key}"
146+
options["webdav_password"] = f"{self._api_key}"
147147

148148
if webdav_options is not None:
149149
options = {

0 commit comments

Comments
 (0)