Skip to content

Commit

Permalink
website/edge: fix badge function schemaVersion (#5424)
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
  • Loading branch information
srenatus committed Nov 29, 2022
1 parent e681a16 commit 00f91dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/website/edge/badge.ts
@@ -1,6 +1,6 @@
import { Context } from "netlify:edge";

const schemaVersion = "1";
const schemaVersion = 1;
const label = "OPA";
const releases = "https://api.github.com/repos/open-policy-agent/opa/releases/latest";
const endpoint = "/badge-endpoint/";
Expand All @@ -26,4 +26,4 @@ export default async (req: Request, context: Context) => {
};

return context.json(res);
};
};

0 comments on commit 00f91dd

Please sign in to comment.