Complete rename of 'release_time'

I believe this was missed out in c31161c4
This commit is contained in:
infiinte-persistence 2021-04-30 16:19:13 +08:00
parent 6fc11454eb
commit babfec7d43
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -106,12 +106,12 @@ export const doUploadThumbnail = (
.then(json => { .then(json => {
return json.success return json.success
? dispatch({ ? dispatch({
type: ACTIONS.UPDATE_PUBLISH_FORM, type: ACTIONS.UPDATE_PUBLISH_FORM,
data: { data: {
uploadThumbnailStatus: THUMBNAIL_STATUSES.COMPLETE, uploadThumbnailStatus: THUMBNAIL_STATUSES.COMPLETE,
thumbnail: json.data.serveUrl, thumbnail: json.data.serveUrl,
}, },
}) })
: uploadError(json.message || downMessage); : uploadError(json.message || downMessage);
}) })
.catch(err => { .catch(err => {
@ -200,7 +200,7 @@ export const doPrepareEdit = (claim: StreamClaim, uri: string, fileInfo: FileLis
description, description,
fee, fee,
languages, languages,
release_time: release_time ? Number(release_time) * 1000 : undefined, releaseTime: release_time ? Number(release_time) * 1000 : undefined,
thumbnail: thumbnail ? thumbnail.url : null, thumbnail: thumbnail ? thumbnail.url : null,
title, title,
uri, uri,
@ -412,7 +412,7 @@ export const doCheckReflectingFiles = () => (dispatch: Dispatch, getState: GetSt
const { checkingReflector } = state.claims; const { checkingReflector } = state.claims;
let reflectorCheckInterval; let reflectorCheckInterval;
const checkFileList = async () => { const checkFileList = async() => {
const state = getState(); const state = getState();
const reflectingById = selectReflectingById(state); const reflectingById = selectReflectingById(state);
const ids = Object.keys(reflectingById); const ids = Object.keys(reflectingById);