summaryrefslogtreecommitdiff
path: root/.changeset/dull-lemons-check.md
blob: c2c51c412088766c00764d034b4fa8dcf29f1e30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
'astro': patch
---

Fixes a case where Astro allowed to call an action without using `Astro.callAction`. This is now invalid, and Astro will show a proper error.

```diff
---
import { actions } from "astro:actions";

-const result = actions.getUser({ userId: 123 });
+const result = Astro.callAction(actions.getUser, { userId: 123 });
---
```