Skip to content

Commit

Permalink
chore: debbug
Browse files Browse the repository at this point in the history
  • Loading branch information
guimroque committed Jun 25, 2024
1 parent b73e039 commit de5e750
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 37 deletions.
37 changes: 0 additions & 37 deletions packages/api/src/socket/client.ts

This file was deleted.

6 changes: 6 additions & 0 deletions packages/socket-server/src/modules/transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ export const txConfirm = async ({ data, socket, database }: IEvent<IEventTX_CONF
try {
// ------------------------------ [VALIDACOES] ------------------------------
// validar se o origin é diferente da url usada no front...adicionar um .env pra isso
console.log('[TX_CONFIRM]', {
origin,
BAKO_URL_UI,
room
})


if (origin != BAKO_URL_UI) return

Expand Down

0 comments on commit de5e750

Please sign in to comment.