This commit is contained in:
Aurélien Georget 2019-02-22 12:40:29 +01:00
parent 6f61987ad7
commit ceac222cb6

View File

@ -7,12 +7,11 @@ import { getVideosSucceeded } from './actions';
function* getVideos() {
try {
const videos = yield call(request, 'https://strapi.io/videos', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
},
mode: 'no-cors',
method: 'GET',
headers: {
'Content-Type': 'application/json',
},
mode: 'no-cors',
},
false,
true,