Update all the endpoints to work with the new DB structure
This commit is contained in:
parent
1c9d01ea22
commit
4da7cb9b0a
6 changed files with 123 additions and 92 deletions
|
|
@ -32,6 +32,7 @@ async function handleButton(data: any): Promise<object> {
|
|||
|
||||
export default {
|
||||
method: `POST`, path: `/discord/webhook`,
|
||||
options: { auth: false },
|
||||
async handler(request: Request, h: ResponseToolkit) {
|
||||
let sig = request.headers[`x-signature-ed25519`];
|
||||
let timestamp = request.headers[`x-signature-timestamp`];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue