text: import { URL } from '../url';
  
  export async function getUserAddresses(id) {
    const response = await fetch(`${URL}/users/${id}/addresses`, {
      method: 'GET',
      headers: {
        Accept: 'application/json',
        'Content-Type': 'json',
      },
    });
    const res = await response.json();
    return { response, res };
  }
  