chore: fix error message

This commit is contained in:
Steven
2023-11-23 20:46:39 +08:00
parent a4e91541cf
commit 38e5398cb9
9 changed files with 10 additions and 9 deletions

View File

@ -80,7 +80,7 @@ const CreateAccessTokenDialog: React.FC<Props> = (props: Props) => {
onClose();
} catch (error: any) {
console.error(error);
toast.error(error.response.data.message);
toast.error(error.details);
}
};