Even though they were allowed to serve as soldiers, what type of discrimination did African Americans face in the Union army?

African Americans in the Union army still faced discrimination in terms of pay, access to promotions, and assignments to less desirable positions. They were also often subjected to harsher and more dangerous assignments, such as being used as laborers or sent to the front lines with inadequate equipment and training. Additionally, they were often subjected to racist attitudes and mistreatment from some white soldiers and officers.