stack/apps
Zai Shi 738f7dba86
Fix session fetching when there are no active sessions (#684)
<!--

Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md

-->

<!-- ELLIPSIS_HIDDEN -->

----

> [!IMPORTANT]
> Fixes session fetching in `crud.tsx` by handling empty
`refreshTokenObjs` in SQL query.
> 
>   - **Behavior**:
> - Fixes session fetching in `crud.tsx` when `refreshTokenObjs` is
empty by modifying the SQL query to return `FALSE` instead of an invalid
`ANY` clause.
>   - **SQL Query**:
> - Adjusts the `WHERE` clause in the `SELECT` statement to handle empty
`refreshTokenObjs` by using `Prisma.sql` to conditionally apply `ANY` or
`FALSE`.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=stack-auth%2Fstack-auth&utm_source=github&utm_medium=referral)<sup>
for 5fcfaaf981. You can
[customize](https://app.ellipsis.dev/stack-auth/settings/summaries) this
summary. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
2025-05-15 23:09:10 +02:00
..
backend Fix session fetching when there are no active sessions (#684) 2025-05-15 23:09:10 +02:00
dashboard No more instanceof KnownError 2025-05-15 12:13:19 -07:00
dev-launchpad chore: update package versions 2025-05-13 16:00:40 -07:00
e2e chore: update package versions 2025-05-13 16:00:40 -07:00
mcp-server chore: update package versions 2025-05-13 16:00:40 -07:00
mock-oauth-server chore: update package versions 2025-05-13 16:00:40 -07:00
oauth-mock-server In-source unit tests (#429) 2025-02-14 11:47:52 -08:00