Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

fix(releases): add success flag to successful response for correct error detection (#6512)

Thomasb4fba47a23ff
diff --git a/packages/api/src/router/widgets/releases.ts b/packages/api/src/router/widgets/releases.ts
index d234a75c1..7480de536 100644
--- a/packages/api/src/router/widgets/releases.ts
+++ b/packages/api/src/router/widgets/releases.ts
@@ -104,6 +104,7 @@ export const releasesRouter = createTRPCRouter({
id: repositoryId,
provider: repository.provider,
timestamp: response.timestamp,
+ success: true as const,
...response.data,
};
} catch (error) {