In the backend code, try to change the first line to
import {fetch} from ‘wix-fetch’
Then, in the 9th line, change wixFetch to fetch.
Note the use of the curly brackets in the first line - this is how to import fetch.
In the backend code, try to change the first line to
import {fetch} from ‘wix-fetch’
Then, in the 9th line, change wixFetch to fetch.
Note the use of the curly brackets in the first line - this is how to import fetch.