Skip to content

Commit 9c5a8a0

Browse files
committed
fix: mistaken confirmation
1 parent dde6575 commit 9c5a8a0

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)