aswi2023one-team-to-rule-them-all-gitlab/src/api/authservice.ts @ ddc84a2f
1 |
import { axiosInstance } from "./api" |
---|---|
2 |
|
3 |
export const loginRequest = async (username: string, password: string) => { |
4 |
return await axiosInstance.post( |
5 |
"/login", |
6 |
{
|
7 |
username: username, |
8 |
password: password |
9 |
}
|
10 |
)
|
11 |
}
|