Skip to content

Add creator route 404 JSON helper#164

Open
Danitello123 wants to merge 1 commit intoaccesslayerorg:mainfrom
Danitello123:add-creator-route-404-helper
Open

Add creator route 404 JSON helper#164
Danitello123 wants to merge 1 commit intoaccesslayerorg:mainfrom
Danitello123:add-creator-route-404-helper

Conversation

@Danitello123
Copy link
Copy Markdown

closes #101

  • Add sendCreatorNotFound helper in creator.utils.ts for consistent 404 responses
  • Update getCreatorProfile service to check database for creator existence
  • Update getCreatorProfileHandler to use the helper for not found errors
  • Helper uses shared NOT_FOUND error code and consistent message

Summary

Testing

  • pnpm lint
  • pnpm build
  • pnpm exec prisma generate when schema or generated types changed

Checklist

  • Linked issue or backlog item
  • No secrets or live credentials added
  • Docs updated if setup or env changed
  • Change is scoped to one problem

- Add sendCreatorNotFound helper in creator.utils.ts for consistent 404 responses
- Update getCreatorProfile service to check database for creator existence
- Update getCreatorProfileHandler to use the helper for not found errors
- Helper uses shared NOT_FOUND error code and consistent message
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 24, 2026

@Danitello123 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add creator route 404 JSON helper

1 participant