mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-31 22:24:16 +01:00
fix(server): require plan revision for confirmations
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
9445f4fbbe
commit
99bd10cb3c
1 file changed
+1
-1
@@ -58,7 +58,7 @@ function authorFrom(row: {
|
||||
};
|
||||
}
|
||||
|
||||
function readPlanTarget(value: unknown, issueId: string): PlanReviewInteractionTargetContext | null {
|
||||
export function readPlanTarget(value: unknown, issueId: string): PlanReviewInteractionTargetContext | null {
|
||||
const target = parseObject(value);
|
||||
if (target.type !== "issue_document") return null;
|
||||
if (target.key !== "plan") return null;
|
||||
|
||||
Reference in new issue
Block a user