mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-23 13:26:42 +02:00
🔧 fix(chat): update schema for Better Auth nanoid user IDs
- Change userId columns from uuid to text to support Better Auth's nanoid format - Update conversations, spaces, space_members, templates, usage_logs schemas - Fix web API endpoint path from /api to /api/v1 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
3799fe1b54
commit
fb9945c0f7
5 changed files with 8 additions and 8 deletions
|
|
@ -58,7 +58,7 @@ async function fetchApi<T>(
|
|||
}
|
||||
|
||||
try {
|
||||
const response = await fetch(`${API_BASE}/api${endpoint}`, {
|
||||
const response = await fetch(`${API_BASE}/api/v1${endpoint}`, {
|
||||
method,
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue