How to use 注意する in this sentence
I read sentences like:
避難時に注意すること、
詳細に注意すること、
Which meaning is pay attention, and before the word 「注意する」, 「に」 is used.
But let's say that now we have a person who makes mistake, and the boss want to warn him.
Should it be:
1. 部下を注意する
or
2. 部下に注意する
Thank you