Skip to content

Commit e416e42

Browse files
Hyperlint Automation Fix
1 parent 7311256 commit e416e42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/agents/api-reference/store-and-sync-state.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ type User = {
209209
export class MyAgent extends Agent<Env> {
210210
async onRequest(request: Request) {
211211
let userId = new URL(request.url).searchParams.get('userId');
212-
// Supply the type paramter to the query when calling this.sql
212+
// Supply the type parameter to the query when calling this.sql
213213
// This assumes the results returns one or more User rows with "id", "name", and "email" columns
214214
const user = await this.sql<User>`SELECT * FROM users WHERE id = ${userId}`;
215215
return Response.json(user)

0 commit comments

Comments
 (0)