-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Version
2.5.6
Environment that reproduces the issue
Windows 11, ElysiaJS with bun
Is it reproducible in the example application?
Yes
Reproduction steps
return app
.post(
"/list",
async ({ body }: { body: LiveStreamListPayload }) => {
const liveStreams = await client.liveStreams.list({
streamKey: body.streamKey,
name: body.name,
sortBy: body.sortBy,
sortOrder: body.sortOrder,
currentPage: body.currentPage,
pageSize: body.pageSize,
});
return { data: liveStreams };
},
{
body: t.Object({
streamKey: t.Optional(t.String()),
name: t.Optional(t.String()),
sortBy: t.Optional(t.String()),
sortOrder: t.Optional(t.String()),
currentPage: t.Optional(t.Number()),
pageSize: t.Optional(t.Number()),
}),
}
)
Expected result
The list of my livestreams
Actual result
{
"name": "Error",
"message": "ApiVideoError"
}
Additional context
No response
Relevant logs output
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working