mirror of
https://github.com/better-auth/better-auth.git
synced 2026-06-01 20:06:41 -05:00
fix: add version for open api schema (#1108)
This commit is contained in:
@@ -409,6 +409,7 @@ export async function generator(ctx: AuthContext, options: BetterAuthOptions) {
|
||||
info: {
|
||||
title: "Better Auth",
|
||||
description: "API Reference for your Better Auth Instance",
|
||||
version: "1.1.0",
|
||||
},
|
||||
components,
|
||||
security: [
|
||||
|
||||
@@ -122,4 +122,9 @@ describe("expo", async () => {
|
||||
"better-auth:///dashboard",
|
||||
);
|
||||
});
|
||||
|
||||
it("should get cookies", async () => {
|
||||
const c = client.getCookie();
|
||||
expect(c).includes("better-auth.session_token");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user