I think I may have fixed a spelling mistake

I think I may have fixed a spelling mistake as res.local was causing an error for me? I'm pretty new to GitHub so apologies if a) I'm wrong and the code is right and b) if I've gone about resolving this issue in the wrong way!