Skip to content

Commit 0bd13e8

Browse files
committed
Fix marshalling error
1 parent c967c00 commit 0bd13e8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

api/abstractplay.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8712,9 +8712,7 @@ const getAllUsers = async (): Promise<FullUser[]> => {
87128712
/**
87138713
* Count all items for a given partition key, paginating until complete.
87148714
*/
8715-
async function countByPk(
8716-
pkValue: string
8717-
): Promise<number> {
8715+
async function countByPk(pkValue: string): Promise<number> {
87188716
let total = 0;
87198717
let lastKey: Record<string, any> | undefined = undefined;
87208718

@@ -8723,7 +8721,7 @@ async function countByPk(
87238721
TableName: process.env.ABSTRACT_PLAY_TABLE,
87248722
KeyConditionExpression: `pk = :pk`,
87258723
ExpressionAttributeValues: {
8726-
":pk": { S: pkValue },
8724+
":pk": pkValue,
87278725
},
87288726
Select: "COUNT",
87298727
ExclusiveStartKey: lastKey,

0 commit comments

Comments
 (0)