Working fixing integrations race condition

This commit is contained in:
Tuan Dang
2023-01-13 16:36:34 +07:00
parent f57f3e6475
commit 6992c51e17
2 changed files with 116 additions and 117 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ const validateSecrets = async ({
try {
secrets = await Secret.find({
_id: {
$in: secretIds
$in: secretIds.map((secretId: string) => new Types.ObjectId(secretId))
}
});