Skip to content

Commit

Permalink
Merge pull request #50 from team-pofo/feature/#13/stackSearch
Browse files Browse the repository at this point in the history
feat/#13/api 형식 수정(data.autocomplete -> data)
  • Loading branch information
kevinmj12 authored Jan 14, 2025
2 parents 30b52f6 + 2c4e2a8 commit 524d09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/stackAutoComplete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const stackAutoComplete = async (word: string) => {
params: { query: word },
});

const autocomplete = response.data.data.autocomplete;
const autocomplete = response.data.data;
if (response.data.success) {
return autocomplete;
}
Expand Down

0 comments on commit 524d09f

Please sign in to comment.