Skip to content

Commit 291749f

Browse files
committed
target post
1 parent d173090 commit 291749f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

front/src/panels/Home.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export const Home: FC<HomeProps> = (props) => {
4646
v: VK_API_VERSION,
4747
name: videoTitle,
4848
description: videoDescription,
49+
target: "post",
4950
// @ts-expect-error я манал ещё проперти эту обрабатывать, мне тупо впадлу
5051
group_id: group?.id
5152
}

src/main/java/ru/spliterash/vkVideoUnlocker/video/api/VideosImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class VideosImpl(
6060
.addQueryParameter("name", name)
6161
.addQueryParameter("privacy_view", if (private) "3" else "0")
6262
.addQueryParameter("group_id", groupId.toString())
63-
.addQueryParameter("is_united_video_upload", "1")
63+
.addQueryParameter("target", "post")
6464
.build()
6565
)
6666
.build()

0 commit comments

Comments
 (0)