We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fc82f4 commit 86cd222Copy full SHA for 86cd222
src/api/functions/linkry.ts
@@ -22,7 +22,7 @@ export async function fetchLinkEntry(
22
ScanIndexForward: false,
23
});
24
const result = await dynamoClient.send(fetchLinkEntry);
25
- if (!result.Items) {
+ if (!result.Items || result.Items.length == 0) {
26
return null;
27
}
28
const unmarshalled = result.Items.map((x) => unmarshall(x));
0 commit comments