Was going to /would
Which of THESE sentences is right?
(A woman is writing a post about how she tried to help her autist child pee in the ocean ) :
“Wet and not close enough to him to do anything, I gave up. If having his pants down WOULD help him get it done, I was going to let it be” or “ (...) If having his pants down WAS GOING TO help him get it done, I was going to let it be”