mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-04-23 07:47:56 +00:00
auto-commit for 3899eb26-97f1-4447-99fe-04356bbff96a
This commit is contained in:
@@ -53,8 +53,7 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {
|
||||
|
||||
const signIn = async (email: string, password: string) => {
|
||||
try {
|
||||
const backendUrl = process.env.EXPO_PUBLIC_BACKEND_URL || 'http://localhost:8001';
|
||||
const response = await fetch(`${backendUrl}/api/auth/signin`, {
|
||||
const response = await fetch(API_ENDPOINTS.AUTH_SIGNIN, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
Reference in New Issue
Block a user