Assert that token is a string

This commit is contained in:
erik 2023-08-16 12:10:02 +02:00
parent 46c8a1751c
commit a9d01c5907

View file

@ -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: