Skip to content

Commit

Permalink
Merge pull request #58 from team-Ollie/17-feature-Signup-API
Browse files Browse the repository at this point in the history
#16 fix: 오타 수정
  • Loading branch information
leejin-rho authored Jul 3, 2024
2 parents 7e1fbb0 + 3fd6a82 commit db68fa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apis/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ export type centerProps = {
};

export interface getCenterListBody {
ceterList: centerProps[];
centerList: centerProps[];
}

export const getCenterList = async () => {
try {
const response = await client.get("/users/signupView");
return response.data.result.ceterList;
return response.data.result.centerList;
} catch (error) {
if (error.response) {
console.error(error.response);
Expand Down

0 comments on commit db68fa5

Please sign in to comment.