You were lucky mate.
Grapes, raisins, and even currants (some currants are actually small, black grapes) are toxic to your dog! In fact, there have been anecdotal reports of cats and ferrets being affected by these also. Ingestion of even a small amount of grapes,raisins, or currants can result in severe, acute kidney failure.
Cheers Arry