fix unliking

zio/stable
Ansh Nanda 2023-05-16 16:30:14 -07:00
parent 1e54125f7f
commit 5397447ca7
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ export class AlgoItemModel {
try {
await this.rootStore.agent.app.bsky.feed.like.delete({
repo: this.rootStore.me.did,
rkey: new AtUri(this.data.uri).rkey,
rkey: new AtUri(this.data.viewer?.like!).rkey,
})
this.toggleLiked()
this.decrementLike()