mirror of
https://github.com/BarkProductions/barkman.git
synced 2026-08-11 11:42:03 +00:00
fixed typos
This commit is contained in:
@@ -5,7 +5,7 @@ import {Customer} from "../types.ts";
|
||||
queryKey: ['customer'],
|
||||
queryFn: async (): Promise<Customer[]> => {
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user