From a9f34e9ca67df4c26454e5be620ac6cbc55662eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Cabrol?= <86770707+francois-spectre@users.noreply.github.com> Date: Wed, 21 Sep 2022 11:09:46 +0200 Subject: [PATCH] fix: removeMany should not throw an error if deleteCount equal 0 to keep same behavior between mongoose v5 and v6 (#416) --- src/resolvers/removeMany.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resolvers/removeMany.ts b/src/resolvers/removeMany.ts index 146c1a8d..9088cf5f 100644 --- a/src/resolvers/removeMany.ts +++ b/src/resolvers/removeMany.ts @@ -94,7 +94,7 @@ export function removeMany