Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

style(integrations): format scoped gitea close handler

Tine04e85e42250
diff --git a/apps/api/src/plugins/gitea/webhooks/issue-closed.ts b/apps/api/src/plugins/gitea/webhooks/issue-closed.ts
index e64a41a8c..27c90be77 100644
--- a/apps/api/src/plugins/gitea/webhooks/issue-closed.ts
+++ b/apps/api/src/plugins/gitea/webhooks/issue-closed.ts
@@ -101,10 +101,7 @@ export async function handleGiteaIssueClosed(
}
const lastOutbound = existingMetadata.lastOutboundStateSyncAt;
- if (
- typeof lastOutbound === "number" &&
- Number.isFinite(lastOutbound)
- ) {
+ if (typeof lastOutbound === "number" && Number.isFinite(lastOutbound)) {
const eventMs = parseIssueUpdatedAtMs(issue);
if (
eventMs !== null &&