chore: file formatting
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
import apiClient from "./client";
|
||||
import apiClient from './client';
|
||||
|
||||
export const loginApi = async (
|
||||
username: string,
|
||||
password: string,
|
||||
): Promise<any> => {
|
||||
const response = await apiClient.post("/auth/login/", {
|
||||
export const loginApi = async (username: string, password: string): Promise<any> => {
|
||||
const response = await apiClient.post('/auth/login/', {
|
||||
username,
|
||||
password,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user