pull/10301/head
Rich Harris 3 years ago
parent d3133d0e63
commit 05e3a121de

@ -4,7 +4,7 @@ export async function load({ fetch, params, url }) {
const res = await fetch(`/repl/api/${params.id}.json`);
if (!res.ok) {
throw error(res.status);
throw error(/** @type {any} */ (res.status));
}
const gist = await res.json();

Loading…
Cancel
Save