verify whether user can delete transaction with specified time when deleting transaction

This commit is contained in:
MaysWind
2021-03-13 17:23:37 +08:00
parent 5660757c64
commit 50c7ec0cda
6 changed files with 36 additions and 2 deletions
+3 -1
View File
@@ -288,8 +288,10 @@ export default {
});
},
deleteTransaction: ({ id }) => {
const utcOffset = utils.getTimezoneOffsetMinutes();
return axios.post('v1/transactions/delete.json', {
id
id,
utcOffset
});
},
getAllTransactionCategories: () => {