mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-04-23 07:47:56 +00:00
auto-commit for 77af2a2d-7bc3-4be2-9b35-ce895c139c34
This commit is contained in:
@@ -84,8 +84,7 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {
|
||||
language: string = 'en'
|
||||
) => {
|
||||
try {
|
||||
const backendUrl = process.env.EXPO_PUBLIC_BACKEND_URL || 'http://localhost:8001';
|
||||
const response = await fetch(`${backendUrl}/api/auth/signup`, {
|
||||
const response = await fetch(API_ENDPOINTS.AUTH_SIGNUP, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
Reference in New Issue
Block a user