mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-28 11:49:44 +00:00
Merge dev into fix/log-analytics-adjustments
This commit is contained in:
parent
9db2feff77
commit
d490cab48c
555 changed files with 9375 additions and 9287 deletions
|
|
@ -11,7 +11,8 @@ export async function verifyApiKeySetResourceUsers(
|
|||
next: NextFunction
|
||||
) {
|
||||
const apiKey = req.apiKey;
|
||||
const singleUserId = req.params.userId || req.body.userId || req.query.userId;
|
||||
const singleUserId =
|
||||
req.params.userId || req.body.userId || req.query.userId;
|
||||
const { userIds } = req.body;
|
||||
const allUserIds = userIds || (singleUserId ? [singleUserId] : []);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue