Decorator object having none type

I have made the login_required exactly in the same manner as was explained in the lecture video, however when I am assigning to protected_add to the function of login_required I am getting none when I print it to see it’s type:

Hello @Charu510, in command 30 where you have written the code for the login_required.
There return wrapper must be outside the wrapper function. Pls, correct that out, it will work.