MCPcopy Create free account
hub / github.com/amigoscode/full-stack-professional / login

Function login

frontend/react/src/services/client.js:54–63  ·  view source on GitHub ↗
(usernameAndPassword)

Source from the content-addressed store, hash-verified

52}
53
54export const login = async (usernameAndPassword) => {
55 try {
56 return await axios.post(
57 `${import.meta.env.VITE_API_BASE_URL}/api/v1/auth/login`,
58 usernameAndPassword
59 )
60 } catch (e) {
61 throw e;
62 }
63}
64
65export const uploadCustomerProfilePicture = async (id, formData) => {
66 try {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected