Skip to content

Commit

Permalink
chore: Move transfer unlinking to separate folder
Browse files Browse the repository at this point in the history
  • Loading branch information
letehaha committed Jan 20, 2024
1 parent 61359e6 commit d50d83a
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/controllers/transactions.controller/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
export * from './create-transaction';
export * from './delete-transaction';
export * from './update-transaction';
export * from './unlink-transfer-transactions';
export * from './transfer-linking/unlink-transfer-transactions';
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export const unlinkTransferTransactions = async (req, res: CustomResponse) => {
.status(200)
.json({ status: API_RESPONSE_STATUS.success, response: data });
} catch (err) {
console.log('ERR', err);
errorHandler(res, err);
}
};
2 changes: 1 addition & 1 deletion src/services/transactions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ export * from './get-transactions';
export * from './update-transaction';
export * from './get-by-transfer-id';
export * from './get-transaction-by-some-id';
export * from './unlink-transfer-transactions';
export * from './transactions-linking/unlink-transfer-transactions';

0 comments on commit d50d83a

Please sign in to comment.