Skip to content

Commit

Permalink
[Test]/#28-로그인 페이지 APi test
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaem03 authored Nov 12, 2024
2 parents b098a14 + 37bebdc commit c11ca05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/apis/login.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { instance } from "./instance";

export const postLogin = async (username, password) => {
export const postLogin = async (form) => {
try {
const response = await instance.post("/login", {
username,
password,
username: form.username,
password: form.password,
});
console.log(response);
} catch (err) {
Expand Down

0 comments on commit c11ca05

Please sign in to comment.