Security Fix: Deny users from editing others posts. #63
check.yaml
on: pull_request
typecheck-and-lint
16s
Annotations
2 errors and 2 warnings
typecheck-and-lint:
src/app/(main)/editor/[postId]/page.tsx#L32
Type '{ post: { content: string; status: "draft" | "published"; id: string; createdAt: Date; updatedAt: Date | null; userId: string; title: string; excerpt: string; tags: string | null; user: { ...; }; }; user: User; }' is not assignable to type 'IntrinsicAttributes & Props'.
|
typecheck-and-lint
Process completed with exit code 1.
|
typecheck-and-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
typecheck-and-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|