I was speaking with my friend and she corrected me when I said the following sentence:
"Kendi istediğini değil, sadece ondan ne beklendiğini yapıyor."
Which I thought would mean "she's not doing what she wants but only what is expected of her"
My friend is a native and couldn't fully explain exactly why the sentence felt wrong. She corrected it to:
"Kendi istediğini değil, sadece ondan bekleneni yapıyor."
After a little searching I found this sentence
Görev tanımları, çalışandan ne beklendiğini belirtmelidir.
I felt like this sentence was basically the same as the one I'd formed. My friend said this one was correct and the other felt wrong.
Could anyone explain what I'm missing and if there's grammar rule I can learn to avoid this mistake?
Thank you very much!