Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

website/edge: fix badge function schemaVersion #5424

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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);
};
};