export default function () {
  async function confirmPassword({ userId, password} : { userId: string; password: string}) {
    return await useNuxtApp().$api<Record<string, any>>(`/api/auth/verify-password/id/${userId}`, {
      method: "POST",
      body: { password},
    });
  }


  return {
    confirmPassword
  };
}
