Skip to content

Commit

Permalink
spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Jul 27, 2021
1 parent 90f8dbe commit 16b7b1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/hn.svelte.dev/src/routes/[list]/rss.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @param {string} list
* @param {Record<string,any>[]} items
* @param {Record<string, any>[]} items
*/
const render = (list, items) => `<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
Expand Down Expand Up @@ -34,7 +34,7 @@ const render = (list, items) => `<?xml version="1.0" encoding="UTF-8" ?>
/**
* @type {import('@sveltejs/kit').RequestHandler}
*/
export function get({params}) {
export function get({ params }) {
const list =
params.list === 'top' ? 'news' : params.list === 'new' ? 'newest' : params.list;

Expand Down

0 comments on commit 16b7b1c

Please sign in to comment.