Skip to content

Commit

Permalink
Use uppercase GET
Browse files Browse the repository at this point in the history
  • Loading branch information
narze committed Jan 3, 2024
1 parent 40cbd15 commit d94d617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/feed.xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getCollection } from "astro:content"
import { SITE_TITLE, SITE_DESCRIPTION } from "../consts"
import type { APIRoute } from "astro"

export const get: APIRoute = async (context) => {
export const GET: APIRoute = async (context) => {
const entries = (
await getCollection("second-brain", ({ data }) => {
return data.draft !== true && data.no_feed !== true
Expand Down

0 comments on commit d94d617

Please sign in to comment.