Skip to content

Commit

Permalink
♻️ Simplify post format
Browse files Browse the repository at this point in the history
  • Loading branch information
AuroraHuang22 committed Sep 20, 2024
1 parent e6861c5 commit 55af157
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions store/book-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ export default class BookAPI extends VuexModule {
try {
const { data } = await axios.post(
API_POST_AUTHORIZE,
{
...signature,
},
signature,
)
const token = (data as any)?.token
if (!token) {
Expand Down

0 comments on commit 55af157

Please sign in to comment.