docs: added sentry guide (#12744)
* docs: added sentry guide * added error capturing * generate
This commit is contained in:
@@ -692,7 +692,7 @@ export async function POST(
|
||||
}
|
||||
```
|
||||
|
||||
Since you export a `POST` route handler function, you expose an `API` route at `/admin/algolia/sync`. The route handler function accepts two parameters:
|
||||
Since you export a `POST` route handler function, you expose a `POST` API route at `/admin/algolia/sync`. The route handler function accepts two parameters:
|
||||
|
||||
1. A request object with details and context on the request, such as body parameters or authenticated user details.
|
||||
2. A response object to manipulate and send the response.
|
||||
|
||||
Reference in New Issue
Block a user