Skip to content

Commit

Permalink
add name to webhook call
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonstreator committed Dec 28, 2024
1 parent 3c71b55 commit 4859177
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/server/src/vault/redis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export const createRedisVault = (
if (wh?.fip) {
void webhookSender.send({
url: wh.u,
name: wh.n,
event: 'FAILURE_IP_ADDRESS',
id,
dt,
Expand Down Expand Up @@ -140,6 +141,7 @@ export const createRedisVault = (
if (wh?.fpk) {
void webhookSender.send({
url: wh.u,
name: wh.n,
event: 'FAILURE_KEY_PASSWORD',
id,
dt,
Expand All @@ -155,6 +157,7 @@ export const createRedisVault = (
if (wh?.r) {
void webhookSender.send({
url: wh.u,
name: wh.n,
event: 'READ',
id,
dt,
Expand All @@ -166,6 +169,7 @@ export const createRedisVault = (
if (redisOutcome.burned && wh?.b) {
void webhookSender.send({
url: wh.u,
name: wh.n,
event: 'BURN',
id,
dt,
Expand Down

0 comments on commit 4859177

Please sign in to comment.