Skip to content

Commit 3a56f22

Browse files
authored
Merge pull request #210 from cnblogs/disable-upload-post-confirmation
fix: mistaken confirmation
2 parents dde6575 + 9c5a8a0 commit 3a56f22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/post-list/upload-post.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ export async function uploadPostFile(fileUri?: Uri, confirm = true) {
209209

210210
if (postId !== undefined && postId >= 0) {
211211
const dto = await PostService.getPostEditDto(postId)
212-
if (dto !== undefined) await uploadPost(dto)
212+
if (dto !== undefined) await uploadPost(dto, confirm)
213213
return
214214
}
215215

0 commit comments

Comments
 (0)