diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2021-02-12 12:56:39 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2021-02-12 12:56:39 +0000 |
| commit | cc9fd588f6678ad13a06a7c60f63fb646ebfc758 (patch) | |
| tree | 0c58a10c736baf5cb554037059705c8ac0a933bc | |
| parent | basic media attachments (diff) | |
| download | fedidag-cc9fd588f6678ad13a06a7c60f63fb646ebfc758.tar.gz fedidag-cc9fd588f6678ad13a06a7c60f63fb646ebfc758.zip | |
use canonical URL for graph root
| -rw-r--r-- | src/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js index b32054e..38dc8cc 100644 --- a/src/index.js +++ b/src/index.js @@ -95,7 +95,7 @@ class GraphContainer extends Component { item.attributedTo = await this.loadUser(item.attributedTo); item.replies = await this.loadCollection(item.replies[0].id, items); - items[id] = item; + items[item.id] = item; return item; } |
