(id: string)
| 158 | } |
| 159 | |
| 160 | getKeyStruct(id: string) { |
| 161 | return { |
| 162 | prefix: {S: id.substring(0, PREFIX_LENGTH)}, |
| 163 | unique_subhash: {S: id}, |
| 164 | }; |
| 165 | } |
| 166 | |
| 167 | async expandId(id: string): Promise<ExpandedShortLink> { |
| 168 | // By just getting the item and not trying to update it, we save an update when the link does not exist |
no outgoing calls
no test coverage detected