From 4d0b3cbf42a735c5581c1b5567f71e220e29afee Mon Sep 17 00:00:00 2001 From: Daniel Mitrov Date: Fri, 3 Feb 2023 15:55:49 +0200 Subject: [PATCH] fix: return the reply object --- src/plugins/remote-cache/routes/get-artifact.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/remote-cache/routes/get-artifact.ts b/src/plugins/remote-cache/routes/get-artifact.ts index f42cf9b1..0d959ab7 100644 --- a/src/plugins/remote-cache/routes/get-artifact.ts +++ b/src/plugins/remote-cache/routes/get-artifact.ts @@ -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) }