change source to sources for more clarity
This commit is contained in:
parent
778466bb1a
commit
0b4d9d25d5
2 changed files with 3 additions and 3 deletions
|
@ -231,7 +231,7 @@ class PublishForm extends React.PureComponent<Props> {
|
|||
// Editing a claim
|
||||
if (!filePath && myClaimForUri) {
|
||||
const { source } = myClaimForUri.value.stream;
|
||||
publishParams.source = source;
|
||||
publishParams.sources = source;
|
||||
}
|
||||
|
||||
publish(publishParams);
|
||||
|
|
|
@ -84,7 +84,7 @@ export const doPublish = (params: PublishParams): ThunkAction => {
|
|||
contentIsFree,
|
||||
price,
|
||||
uri,
|
||||
source,
|
||||
sources,
|
||||
} = params;
|
||||
|
||||
const channelName = channel === CHANNEL_ANONYMOUS || channel === CHANNEL_NEW ? '' : channel;
|
||||
|
@ -117,7 +117,7 @@ export const doPublish = (params: PublishParams): ThunkAction => {
|
|||
if (filePath) {
|
||||
publishPayload.file_path = filePath;
|
||||
} else {
|
||||
publishPayload.sources = source;
|
||||
publishPayload.sources = sources;
|
||||
}
|
||||
|
||||
return (dispatch: Dispatch) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue