Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Collection50 committed Aug 31, 2024
1 parent 6732012 commit c16670e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { http } from '@/apis/http';

const deleteCardTag = (cardId: number, tagId: number) =>
http.delete({
url: `/cards/${cardId}/title/tag/${tagId}`,
url: `/cards/${cardId}/tag/${tagId}`,
});

export const useDeleteCardTag = (cardId: number) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { http } from '@/apis/http';

const postCardTag = (cardId: number, tagId: number) =>
http.post({
url: `/cards/${cardId}/title/tag/${tagId}`,
url: `/cards/${cardId}/tag/${tagId}`,
});

export const usePostCardTag = (cardId: number) => {
Expand Down

0 comments on commit c16670e

Please sign in to comment.