Function
_updateStartingPageId
(input: {
userId: string;
pageId: string;
dataAbstraction: DataAbstraction<typeof dataHashes>;
})
Source from the content-addressed store, hash-verified
| 71 | } |
| 72 | |
| 73 | async function _updateStartingPageId(input: { |
| 74 | userId: string; |
| 75 | pageId: string; |
| 76 | dataAbstraction: DataAbstraction<typeof dataHashes>; |
| 77 | }) { |
| 78 | await input.dataAbstraction.patch('user', input.userId, { |
| 79 | starting_page_id: input.pageId, |
| 80 | }); |
| 81 | } |
| 82 | async function _updateLastParentId(input: { |
| 83 | userId: string; |
| 84 | pageId: string; |
Tested by
no test coverage detected