fix unliking

This commit is contained in:
Ansh Nanda 2023-05-16 16:30:14 -07:00
parent 1e54125f7f
commit 5397447ca7

View file

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