Gotcha. FWIW, here’s a thread that discusses a workaround solution to get stored procedures to return results to Bubble by tricking it into thinking it’s a select statement:
I was wary of going down this path so I just went the straight select statement route. In your case where you are duplicating code, it might be worth considering though, so thought I’d point it out.