From a9d01c59070249eecf8b971f1d8a774f07bee699 Mon Sep 17 00:00:00 2001 From: erik Date: Wed, 16 Aug 2023 12:10:02 +0200 Subject: [PATCH] Assert that token is a string --- .../python/ddadevops/application/release_mixin_services.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/python/ddadevops/application/release_mixin_services.py b/src/main/python/ddadevops/application/release_mixin_services.py index 0c40e98..bc3ab0a 100644 --- a/src/main/python/ddadevops/application/release_mixin_services.py +++ b/src/main/python/ddadevops/application/release_mixin_services.py @@ -66,7 +66,7 @@ class ReleaseService: self.artifact_deployment_api.create_forgejo_release( release.forgejo_release_api_endpoint(), release.version.to_string(), - release.release_artifact_token, + str(release.release_artifact_token), ) ) @@ -84,7 +84,7 @@ class ReleaseService: release.forgejo_release_asset_api_endpoint(release_id), artifact.path(), artifact.type(), - release.release_artifact_token, + str(release.release_artifact_token), ) def __parse_forgejo_release_id__(self, release_response: str) -> int: