Skip to content

Commit

Permalink
Update apps/docs-app/docs/features/api/overview.md
Browse files Browse the repository at this point in the history
Co-authored-by: Brandon Roberts <robertsbt@gmail.com>
  • Loading branch information
santoshyadavdev and brandonroberts authored Dec 4, 2023
1 parent 0dc109a commit 188f0ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/docs-app/docs/features/api/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ import { PageServerLoad } from '@analogjs/router';
import { Product } from '../products';

export const load = async ({ fetch, event }: PageServerLoad) => {
setCookie(event, 'test', 'test'); // setting the cookie
setCookie(event, 'products', 'loaded'); // setting the cookie
const products = await fetch<Product[]>('/api/v1/products');

return {
Expand Down

0 comments on commit 188f0ea

Please sign in to comment.