If you had made 301 redirect and if it works correctly then you don't have to worry about duplicate content issues between those urls. Enter your url here to check the response given by your webpage -
https://httpstatus.io.
The other option would be making canonical url which tells the Google that both pages are just same.