Skip to content

Commit af67dfe

Browse files
committed
bug: fix issue with optional
1 parent cc2b0f6 commit af67dfe

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/type-sense/type-sense.service.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,12 @@ export class TypeSenseService {
6262
{ name: "teams", type: "string[]", optional: true },
6363
{ name: "elo", type: "int32", optional: true },
6464
{ name: "role", type: "string", optional: true },
65-
{ name: "last_sign_in_at", type: "string", symbols_to_index: ["~"] },
65+
{
66+
name: "last_sign_in_at",
67+
type: "string",
68+
symbols_to_index: ["~"],
69+
optional: true,
70+
},
6671
];
6772

6873
const exists = await this.client.collections("players").exists();

src/types/pg-cursor.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ declare module "pg-cursor" {
1616
const Cursor: CursorConstructor;
1717
export = Cursor;
1818
}
19-

0 commit comments

Comments
 (0)