From 3b07318e346cf88b6bc14642421b439c8e6e80cb Mon Sep 17 00:00:00 2001 From: Drew Rautenberg Date: Fri, 17 Jul 2026 12:06:03 -0500 Subject: [PATCH] fixed typos --- barkmanAPI/Program.cs | 2 +- barkmanui/src/features/customers/hooks/useCustomerList.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/barkmanAPI/Program.cs b/barkmanAPI/Program.cs index 58d9dce..658b103 100644 --- a/barkmanAPI/Program.cs +++ b/barkmanAPI/Program.cs @@ -177,7 +177,7 @@ customerGroup.MapGet("/{id}", async (int id, BarkContext db) => if (customer == null) { - return Results.NotFound(new { Message = "Customer item not found" }); + return Results.NotFound(new { Message = "Customer not found" }); } return Results.Ok(customer); diff --git a/barkmanui/src/features/customers/hooks/useCustomerList.tsx b/barkmanui/src/features/customers/hooks/useCustomerList.tsx index 0cbae87..293a3a7 100644 --- a/barkmanui/src/features/customers/hooks/useCustomerList.tsx +++ b/barkmanui/src/features/customers/hooks/useCustomerList.tsx @@ -5,7 +5,7 @@ import {Customer} from "../types.ts"; queryKey: ['customer'], queryFn: async (): Promise => { const response = await fetch( - import.meta.env.VITE_API_URL + '/custmoers', + import.meta.env.VITE_API_URL + '/customers', ) if (!response.ok) throw new Error('Failed to fetch customers ' + response.statusText)