Skip to content

Commit d2c9e8d

Browse files
correct the signature of getPinboardsByPaths
Co-authored-by: Andrew Nowak <[email protected]>
1 parent 50a0acc commit d2c9e8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

workflow-bridge-lambda/src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ const getPinboardById =
8686
return { ...data.externalData, ...data };
8787
};
8888

89-
const getPinboardsByPaths = async (identifiers: number[] | string[]) => {
89+
const getPinboardsByPaths = async (paths: string[]) => {
9090
const stubsResponse = await fetch(
9191
`${WORKFLOW_DATASTORE_API_URL}/stubsByPath?fieldFilter=${fields}`,
9292
{
9393
method: "POST",
94-
body: JSON.stringify(identifiers),
94+
body: JSON.stringify(paths),
9595
}
9696
);
9797

0 commit comments

Comments
 (0)