diff --git a/flow-typed/publish.js b/flow-typed/publish.js index 7791303e6..1de7a4b43 100644 --- a/flow-typed/publish.js +++ b/flow-typed/publish.js @@ -23,6 +23,7 @@ declare type UpdatePublishFormData = { licenseUrl?: string, licenseType?: string, uri?: string, + replace?: boolean, }; declare type PublishParams = { @@ -45,6 +46,7 @@ declare type PublishParams = { currency: string, amount: number, }, + replace?: boolean, // This is bad. // Will be removed for tags soon diff --git a/src/ui/redux/actions/publish.js b/src/ui/redux/actions/publish.js index 4fc813da0..d99af3949 100644 --- a/src/ui/redux/actions/publish.js +++ b/src/ui/redux/actions/publish.js @@ -161,6 +161,7 @@ export const doPrepareEdit = (claim: StreamClaim, uri: string) => (dispatch: Dis uri, uploadThumbnailStatus: thumbnail ? THUMBNAIL_STATUSES.MANUAL : undefined, licenseUrl, + replace: true, }; // Make sure custom liscence's are mapped properly