I’m happy for you you kept your sobriety through this situation. However, it’s not productive to expose yourself like this. You’re whiteknuckling through temptation - but true recovery needs focussed and conscious work on yourself and the reasons you drink.
Maybe this thread will be interesting for you
Why would you “test” your sobriety?
And this hopefully even more:
Resources for our recovery
Advice for the Newcomer and Constant Relapser
Wish you the best! No more wine parties!