diff options
author | Ansh Nanda <anshnanda10@gmail.com> | 2023-05-16 16:30:14 -0700 |
---|---|---|
committer | Ansh Nanda <anshnanda10@gmail.com> | 2023-05-16 16:30:14 -0700 |
commit | 5397447ca7a45a28597b75652a2b80385a34057f (patch) | |
tree | b5c7a34d85c6bf1ba00f5d1ff7226cd39ca726ac | |
parent | 1e54125f7f046742e08b7ea24ce7c546b5e5f83c (diff) | |
download | voidsky-5397447ca7a45a28597b75652a2b80385a34057f.tar.zst |
fix unliking
-rw-r--r-- | src/state/models/feeds/algo/algo-item.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/models/feeds/algo/algo-item.ts b/src/state/models/feeds/algo/algo-item.ts index 8291b6d86..bd4ea4fd6 100644 --- a/src/state/models/feeds/algo/algo-item.ts +++ b/src/state/models/feeds/algo/algo-item.ts @@ -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() |