Assert that token is a string

pull/1/head
erik 10 months ago
parent 46c8a1751c
commit a9d01c5907

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

Loading…
Cancel
Save