Potion effects in certain radius?

I’m currently making a minecraft server for my friends and I to play on, I’m currently having difficultlies with potion effects. I need to effect all players in a 10 block radius. Not all on the game but only the ones in that radius. I thought it was:

/effect @a[r=10] mining_fatiue 2 255


you spelt mining_fatigue like mining_fatiue