Skip to content

Commit

Permalink
fix: filter bt eventName when checking last execution
Browse files Browse the repository at this point in the history
  • Loading branch information
niekcandaele committed Aug 30, 2024
1 parent 4459c46 commit 9fb9632
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/app-api/src/executors/executeFunction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ export async function executeFunction(
filters: {
playerId: [data.player.id],
gameserverId: [data.gameServerId],
eventName: [EVENT_TYPES.COMMAND_EXECUTED],
},
greaterThan: {
createdAt: new Date(Date.now() - cooldown * 1000),
Expand Down

0 comments on commit 9fb9632

Please sign in to comment.