Merge pull request #2459 from lbryio/issue2431-c-replaceflag

add replace to publish flags
This commit is contained in:
Sean Yesmunt 2019-05-02 16:55:01 -05:00 committed by GitHub
commit 0994c8bebe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -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

View file

@ -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