Skip to content

Commit

Permalink
Merge pull request #311 from letehaha/fix/minor-issues
Browse files Browse the repository at this point in the history
Bump backend and fix notifications
  • Loading branch information
letehaha committed Sep 22, 2024
2 parents 286f91c + d7fe43e commit 03a12b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend
Submodule backend updated 67 files
+1 −0 shared-types/api/api.ts
+4 −4 shared-types/routes/auth.ts
+8 −7 src/controllers/accounts.controller.e2e.ts
+2 −2 src/controllers/auth.controller.e2e.ts
+2 −2 src/controllers/banks/monobank.controller.e2e.ts
+12 −12 src/controllers/banks/monobank.controller.ts
+2 −2 src/controllers/categories.controller/create-category.ts
+44 −0 src/controllers/currencies/add-user-currencies.ts
+62 −0 src/controllers/currencies/edit-currency-exchange-rate.ts
+1 −48 src/controllers/transactions.controller.ts
+33 −32 src/controllers/transactions.controller/create-transaction.e2e.ts
+3 −8 src/controllers/transactions.controller/create-transaction.ts
+6 −6 src/controllers/transactions.controller/delete-transaction.e2e.ts
+85 −0 src/controllers/transactions.controller/get-transaction.ts
+8 −8 src/controllers/transactions.controller/transfer-linking/link-transactions.e2e.ts
+8 −8 src/controllers/transactions.controller/transfer-linking/unlink-transfer-transactions.e2e.ts
+38 −35 src/controllers/transactions.controller/update-transaction.e2e.ts
+2 −3 src/controllers/transactions.controller/update-transaction.ts
+0 −29 src/controllers/user.controller.ts
+26 −3 src/js/errors.ts
+1 −1 src/js/helpers/index.unit.ts
+1 −1 src/models/Accounts.model.ts
+18 −6 src/models/Balances.model.ts
+12 −7 src/models/Currencies.model.ts
+1 −1 src/models/RefundTransactions.model.ts
+77 −33 src/models/Transactions.model.ts
+42 −23 src/models/UserExchangeRates.model.ts
+3 −3 src/models/Users.model.ts
+17 −12 src/models/UsersCurrencies.model.ts
+6 −7 src/models/binance/UserSettings.model.ts
+1 −1 src/models/index.ts
+0 −19 src/models/transactions.ts
+5 −2 src/routes/transactions.route.ts
+21 −4 src/routes/user.route.ts
+59 −33 src/services/accounts.service.ts
+22 −15 src/services/auth.service.ts
+16 −10 src/services/balances.service.e2e.ts
+5 −5 src/services/banks/monobank/users.ts
+15 −4 src/services/calculate-ref-amount.service.ts
+7 −7 src/services/categories/create-category.e2e.ts
+11 −11 src/services/categories/edit-category.e2e.ts
+116 −0 src/services/currencies/add-user-currency.e2e.ts
+36 −0 src/services/currencies/add-user-currency.ts
+15 −14 src/services/stats/get-balance-history-for-account.ts
+1 −1 src/services/stats/get-balance-history.ts
+23 −22 src/services/stats/get-spendings-by-categories/get-spendings-by-categories.e2e.ts
+2 −2 src/services/stats/get-spendings-by-categories/index.ts
+39 −28 src/services/transactions/create-transaction.ts
+7 −1 src/services/transactions/delete-transaction.ts
+258 −0 src/services/transactions/get-transactions.e2e.ts
+6 −5 src/services/transactions/get-transactions.ts
+21 −14 src/services/transactions/transactions-linking/link-transactions.ts
+3 −3 src/services/transactions/types.ts
+18 −5 src/services/transactions/update-transaction.ts
+2 −2 src/services/tx-refunds/create-single-refund.service.ts
+23 −25 src/services/user-exchange-rate/get-exchange-rate.service.ts
+95 −0 src/services/user-exchange-rate/update-exchange-rates.service.e2e.ts
+14 −31 src/services/user.service.ts
+6 −20 src/tests/helpers/account.ts
+35 −8 src/tests/helpers/common.ts
+32 −19 src/tests/helpers/currencies.ts
+25 −0 src/tests/helpers/exchange-rates.ts
+1 −0 src/tests/helpers/index.ts
+1 −1 src/tests/helpers/monobank.ts
+3 −3 src/tests/helpers/refunds.ts
+19 −8 src/tests/helpers/transactions.ts
+1 −0 tsconfig.json
2 changes: 1 addition & 1 deletion src/components/notification-center/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const useNotificationCenter = (): {
removeNotification(id);

delete notificationIds[id];
}, notification.visibilityTime ?? 400000);
}, notification.visibilityTime ?? 4000);

return id;
};
Expand Down

0 comments on commit 03a12b5

Please sign in to comment.