Skip to content

Commit

Permalink
fix: return the reply object
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmitrov committed Feb 3, 2023
1 parent 0384fb4 commit 4d0b3cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/remote-cache/routes/get-artifact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const getArtifact: RouteOptions<

try {
const artifact = await this.location.getCachedArtifact(artifactId, teamId)
reply.send(artifact)
return reply.send(artifact)
} catch (err) {
throw notFound(`Artifact not found`, err)
}
Expand Down

0 comments on commit 4d0b3cb

Please sign in to comment.