Skip to content

Initialize disappearing message settings client - #143

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
aiirvizionz:clientkit/qryptchat-next-qa
Jul 12, 2026
Merged

Initialize disappearing message settings client#143
ralyodio merged 1 commit into
profullstack:masterfrom
aiirvizionz:clientkit/qryptchat-next-qa

Conversation

@aiirvizionz

Copy link
Copy Markdown
Contributor

Summary

  • initialize the service-role Supabase client before authenticating disappearing-message settings requests
  • reuse the initialized client for GET profile lookup and PUT updates
  • add route tests proving GET and PUT authenticate through the initialized client instead of a null module variable

Test

  • .\node_modules.bin\vitest.CMD run src\app\api\settings\disappearing-messages\route.test.js

@ralyodio
ralyodio merged commit 01a9699 into profullstack:master Jul 12, 2026
8 checks passed
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.

2 participants