Updating for new lemmy-js-client.

This commit is contained in:
Dessalines 2023-10-19 20:31:26 -04:00
parent d9760c1fcb
commit 3b4a813ba0
3 changed files with 6 additions and 7 deletions

View file

@ -70,7 +70,7 @@
"inferno-router": "^8.2.2", "inferno-router": "^8.2.2",
"inferno-server": "^8.2.2", "inferno-server": "^8.2.2",
"jwt-decode": "^3.1.2", "jwt-decode": "^3.1.2",
"lemmy-js-client": "0.19.0-alpha.13", "lemmy-js-client": "0.19.0-rc.14",
"lodash.isequal": "^4.5.0", "lodash.isequal": "^4.5.0",
"markdown-it": "^13.0.1", "markdown-it": "^13.0.1",
"markdown-it-bidi": "^0.1.0", "markdown-it-bidi": "^0.1.0",

View file

@ -1712,8 +1712,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
if (myAuth() && !i.props.post_view.read) { if (myAuth() && !i.props.post_view.read) {
i.props.onMarkPostAsRead({ i.props.onMarkPostAsRead({
post_id: i.props.post_view.post.id, post_ids: [i.props.post_view.post.id],
post_ids: [],
read: true, read: true,
}); });
} }

View file

@ -6064,10 +6064,10 @@ leac@^0.6.0:
resolved "https://registry.yarnpkg.com/leac/-/leac-0.6.0.tgz#dcf136e382e666bd2475f44a1096061b70dc0912" resolved "https://registry.yarnpkg.com/leac/-/leac-0.6.0.tgz#dcf136e382e666bd2475f44a1096061b70dc0912"
integrity sha512-y+SqErxb8h7nE/fiEX07jsbuhrpO9lL8eca7/Y1nuWV2moNlXhyd59iDGcRf6moVyDMbmTNzL40SUyrFU/yDpg== integrity sha512-y+SqErxb8h7nE/fiEX07jsbuhrpO9lL8eca7/Y1nuWV2moNlXhyd59iDGcRf6moVyDMbmTNzL40SUyrFU/yDpg==
lemmy-js-client@0.19.0-alpha.13: lemmy-js-client@0.19.0-rc.14:
version "0.19.0-alpha.13" version "0.19.0-rc.14"
resolved "https://registry.yarnpkg.com/lemmy-js-client/-/lemmy-js-client-0.19.0-alpha.13.tgz#58fccefd436900624c8c7a04e478f810c08abff5" resolved "https://registry.yarnpkg.com/lemmy-js-client/-/lemmy-js-client-0.19.0-rc.14.tgz#41885611c2d78e5cb6b01cf167d68205a471c215"
integrity sha512-sRb7JiWuzH/InwGHfnH8Dv18626vsCKgOThYCOKMd6LqtKHJ6FhnTKrTEz110GZq1Kx8KxPeDU5XTIG6YSA05w== integrity sha512-U0KKFLrU0K+A7UlZr+k4olrXCXBxD+9cwMicu7L/wFyZ2aWHtGPaeO8V6mk6suv9vn2w2PWuimIIC+YICQ5xKg==
dependencies: dependencies:
cross-fetch "^3.1.5" cross-fetch "^3.1.5"
form-data "^4.0.0" form-data "^4.0.0"