diff --git a/index.ts b/index.ts index d3b7302..147e2af 100644 --- a/index.ts +++ b/index.ts @@ -1,7 +1,7 @@ import { ServerRequest } from "./deps.ts"; import { GithubAPIClient } from "./src/github_api_client.ts"; import { Card } from "./src/card.ts"; -import { parseParams, CONSTANTS } from "./src/utils.ts"; +import { CONSTANTS, parseParams } from "./src/utils.ts"; import { COLORS, Theme } from "./src/theme.ts"; import "https://deno.land/x/dotenv@v0.5.0/load.ts"; @@ -15,7 +15,7 @@ export default async (req: ServerRequest) => { const themeParam: string = params.getStringValue("theme", "default"); let theme: Theme = COLORS.default; if (Object.keys(COLORS).includes(themeParam)) { - theme = COLORS[themeParam] + theme = COLORS[themeParam]; } const marginWidth = params.getNumberValue( "margin-w", @@ -46,7 +46,7 @@ export default async (req: ServerRequest) => { if (userInfo === null) { req.respond( { - body: "Can not find a user with userID: "+username, + body: "Can not find a user with userID: " + username, status: 404, headers: new Headers({ "Content-Type": "text" }), },