mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-14 20:35:17 +00:00
enum for failure
This commit is contained in:
@@ -119,7 +119,7 @@ router.post("/", route({}), async (req: Request, res: Response) => {
|
||||
data: {
|
||||
id: interactionId,
|
||||
nonce: interaction.nonce,
|
||||
reason_code: 2, // when types are done: InteractionFailureReason.TIMEOUT,
|
||||
reason_code: InteractionFailureReason.TIMEOUT,
|
||||
},
|
||||
} as InteractionFailureEvent);
|
||||
}, 30000);
|
||||
|
||||
Reference in New Issue
Block a user