Reads on your opponent are very important here:
- What kind of hands are they likely to have called you with pre-flop? Would they be flat calling you medium pairs, would they play AQ like this, are connectors a regular part of their range?
- What kind of hands do they need to pay you off on the river if you hit? If the third spade does come, will they pay you off with JJ?
- Since we're talking about package hands I assume you've been reading your Vorhaus, so, is this player risk-averse or risk-affined?
You're definitely not getting the right pot odds
on the turn ($13 is 35% of the $37 pot, and you're only 19% to make your flush) so you're relying on implied odds to justify a call. If the villain will pay you off with a hand like JJ every time, then maybe the call was OK. If they're unlikely to pay you off, however, then you're not getting the right odds on the turn, either real or implied.
You really need a good read on the villain to assess what the right move is there, and in the absence of such a read you should probably take the more conservative line.