diff options
Diffstat (limited to 'app/graphql/mutations/todos/restore_many.rb')
-rw-r--r-- | app/graphql/mutations/todos/restore_many.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/graphql/mutations/todos/restore_many.rb b/app/graphql/mutations/todos/restore_many.rb index dc02ffadada..41ccbd77aa6 100644 --- a/app/graphql/mutations/todos/restore_many.rb +++ b/app/graphql/mutations/todos/restore_many.rb @@ -60,7 +60,7 @@ module Mutations def authorized_find_all_pending_by_current_user(ids) return Todo.none if ids.blank? || current_user.nil? - Todo.for_ids(ids).for_user(current_user).done + Todo.id_in(ids).for_user(current_user).done end def restore(todos) |