Awkward Hug - How bad have I messed up?

Okay, so basically i have no idea of relationships and I like this girl. My mate told her that I liked her and she seemed cool with it and it was going pretty well and she liked me back a bit. So she went to hug me when I had to leave, but i went for the awkward pat hug and now she's just being a bit blunt and doesn't seem to be putting as much effort in and sometimes ignores my texts? We're going on a date on Friday, but how bad have I messed up basically and can I redeem myself?
Updates
+1 y
I dont know if she sees it as a date or not? I asked her she wants anyone else to come and she said its up to you so I said no. Im paying for it all and also its on my birthday on Friday if that affects anything?
Awkward Hug - How bad have I messed up?
Post Opinion