fix(sohuhao): update infoResource value in submitArticle function
This commit is contained in:
@@ -221,7 +221,7 @@ async function submitArticle(
|
|||||||
categoryId: -1,
|
categoryId: -1,
|
||||||
cover: coverUrl || '',
|
cover: coverUrl || '',
|
||||||
accountId: Number(account.id),
|
accountId: Number(account.id),
|
||||||
infoResource: 2,
|
infoResource: 0,
|
||||||
}
|
}
|
||||||
|
|
||||||
const response = await sessionFetchJson<SohuSubmitResponse>(context.session, url.toString(), {
|
const response = await sessionFetchJson<SohuSubmitResponse>(context.session, url.toString(), {
|
||||||
|
|||||||
Reference in New Issue
Block a user