Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zyrouge committed Apr 4, 2024
1 parent b25d67b commit e3c7103
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/articles/rss.xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Metadata } from "~/core/metadata";
import { Routes } from "~/core/routes";
import { baseUrl } from "~/core/urls";

export const get = async (_: APIContext) => {
export const GET = async (_: APIContext) => {
const articles = await Articles.fetchAll();
return rss({
title: Metadata.constructTitle("Articles"),
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
"noUncheckedIndexedAccess": true,
"noUnusedParameters": true,
"strictNullChecks": true
}
},
"include": ["src"]
}

0 comments on commit e3c7103

Please sign in to comment.