diff options
author | Ansh Nanda <anshnanda10@gmail.com> | 2023-05-16 15:50:52 -0700 |
---|---|---|
committer | Ansh Nanda <anshnanda10@gmail.com> | 2023-05-16 15:50:52 -0700 |
commit | f2e39d8ad24041637810327ca28ad78f9f36bf2f (patch) | |
tree | 99065f00bc87f77b7da4d62a8ccf168f6d65aa36 /src/state/models/feeds/algo/algo-item.ts | |
parent | dd788550bed888259a59b01b69ac5b05893db3a5 (diff) | |
download | voidsky-f2e39d8ad24041637810327ca28ad78f9f36bf2f.tar.zst |
allow for pinning saved feeds
Diffstat (limited to 'src/state/models/feeds/algo/algo-item.ts')
-rw-r--r-- | src/state/models/feeds/algo/algo-item.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/state/models/feeds/algo/algo-item.ts b/src/state/models/feeds/algo/algo-item.ts index 0eaeebd39..39bc760ac 100644 --- a/src/state/models/feeds/algo/algo-item.ts +++ b/src/state/models/feeds/algo/algo-item.ts @@ -153,4 +153,8 @@ export class AlgoItemModel { }) this.data = res.data.view } + + serialize() { + return JSON.stringify(this.data) + } } |