Recording has stopped after adding fetch on conference js

hi I have a problem after adding some code on my react/feature/components/conference/web/conference.js
I added some fetch API but after this, if I click the button to record the record feature will be stopped and the sound “the recording has stopped”
this is my code, is my code wrong?