Skip to content

Commit 1d13ca5

Browse files
cojiclaude
andcommitted
fix: pullId を Number() で変換して prNumbers スキーマに適合させる
CodeRabbit指摘: zx.NumAsString で文字列型の pullId を z.array(z.number()) の prNumbers にそのまま渡していた。Number() で変換して型を一致させる。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8f7c932 commit 1d13ca5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • app/routes/$orgSlug/settings/repositories/$repository/$pull

app/routes/$orgSlug/settings/repositories/$repository/$pull/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export const action = async ({
161161
await durably.jobs.process.triggerAndWait(
162162
{
163163
organizationId: organization.id,
164-
scopes: [{ repositoryId, prNumbers: [pullId] }],
164+
scopes: [{ repositoryId, prNumbers: [Number(pullId)] }],
165165
},
166166
{
167167
concurrencyKey: processConcurrencyKey(organization.id),

0 commit comments

Comments
 (0)