Skip to content

Security Fix: Deny users from editing others posts. #63

Security Fix: Deny users from editing others posts.

Security Fix: Deny users from editing others posts. #63

Triggered via pull request February 27, 2024 18:25
Status Failure
Total duration 26s
Artifacts

check.yaml

on: pull_request
typecheck-and-lint
16s
typecheck-and-lint
Fit to window
Zoom out
Zoom in

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/