mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-07-27 22:45:03 +00:00
fix(ara-projects): repoint workstreams setup import to guards
setup/workstreams/page.tsx imported requireProjectAccess from ../../../authz, the stub #406 created and #409 deleted when it moved the guard into src/app/projects/guards.ts. #410 (workstreams) was built in parallel against the stub path and merged after #409, so the two landed cleanly by git yet left a dangling import — the only tsc error in the repo and a next build failure. The page calls requireProjectAccess purely for its redirect/notFound side effect and discards the return, so repointing the import is the whole fix. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
2a9f6424be
commit
aa505bc84f
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { notFound } from "next/navigation";
|
||||
import { requireProjectAccess } from "../../../authz";
|
||||
import { requireProjectAccess } from "../../../guards";
|
||||
import { authorizeWorkstreamRequest } from "@/app/api/projects/[projectId]/workstreams/authorize";
|
||||
import { listWorkstreamOptions } from "@/app/api/projects/[projectId]/workstreams/queries";
|
||||
import {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue