Employer withholds only living state tax and wrongly record working state

I work in NY and live in NJ.  My employer recorded my resident and working state both in NJ.  Consequently, only NJ taxes were withheld.  W-2 form shows only NJ. How should I file state tax returns?  Thanks.