...
|
...
|
@@ -110,8 +110,9 @@ export function getResourceInfoFailure(error) { |
|
|
export function getResourceInfo(callback) {
|
|
|
return (dispatch, getState) => {
|
|
|
let {app} = getState();
|
|
|
let contentCode = app.contentCode ? app.contentCode : '1f2e07cb63811680154ba693c954dd62';
|
|
|
dispatch(getResourceInfoRequest());
|
|
|
return new NewArrivalService(app.host).fetchResourceInfo('1f2e07cb63811680154ba693c954dd62')
|
|
|
return new NewArrivalService(app.host).fetchResourceInfo(contentCode)
|
|
|
.then(json => {
|
|
|
let newJson = exposeResourceInfoData(json);
|
|
|
|
...
|
...
|
|