The department confirmed Friday that it had fired one of its officers after she shared a racial slur-filled rant on her Instagram.