fix(web): remove prefixo duplicado /api/v1 no DevLogin
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -24,7 +24,7 @@ export function DevLogin({ onLogin }: { onLogin: () => void }) {
|
|||||||
setLoading(user.userId);
|
setLoading(user.userId);
|
||||||
setError(null);
|
setError(null);
|
||||||
try {
|
try {
|
||||||
const raw = await apiFetch('/api/v1/auth/dev/token', {
|
const raw = await apiFetch('/auth/dev/token', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
body: { userId: user.userId, workspaceId: 'dev-workspace', role: user.role },
|
body: { userId: user.userId, workspaceId: 'dev-workspace', role: user.role },
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user