Add requireSecretAuth middleware

This commit is contained in:
Tuan Dang
2023-01-01 10:36:07 +07:00
parent fc61849120
commit 6f054d8f2c
7 changed files with 80 additions and 17 deletions
+2 -2
View File
@@ -1,6 +1,5 @@
import * as express from 'express';
// TODO: fix (any) types
declare global {
namespace Express {
@@ -8,11 +7,12 @@ declare global {
user: any;
workspace: any;
membership: any;
organizationt: any;
organization: any;
membershipOrg: any;
integration: any;
integrationAuth: any;
bot: any;
secret: any;
serviceToken: any;
accessToken: any;
query?: any;