about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAnsh Nanda <anshnanda10@gmail.com>2023-05-16 16:30:14 -0700
committerAnsh Nanda <anshnanda10@gmail.com>2023-05-16 16:30:14 -0700
commit5397447ca7a45a28597b75652a2b80385a34057f (patch)
treeb5c7a34d85c6bf1ba00f5d1ff7226cd39ca726ac /src
parent1e54125f7f046742e08b7ea24ce7c546b5e5f83c (diff)
downloadvoidsky-5397447ca7a45a28597b75652a2b80385a34057f.tar.zst
fix unliking
Diffstat (limited to 'src')
-rw-r--r--src/state/models/feeds/algo/algo-item.ts2
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()