We were talking in a group about two components of my Salary one Offshore and another Onsite. There I said
Last year I just got the Offshore Hike and not the onsite hike.
Now I want to know if the sentence
Last year I just got the Offshore Hike
is equivalent to
Last year I only got the Offshore Hike
I know the second one sounds better, but I just want to know if the first one (with the word 'just') is also right, as we know the context.