Marijuana is legal in my state. It has thank God helped cured my insomnia and depression.

Now I'm considering bariatric surgery. Will I have to permanently stop vaping before the surgery? Or will it totally disqualify me? I read that it can cause the need for more sedation during surgery.