Skip to content

Commit 61b80e9

Browse files
fix(query): set visible default to undefined
1 parent 36c3881 commit 61b80e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/model/query/users.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const config: Config<
6868
decodeAvailability,
6969
],
7070
available: [undefined, 'av', encodeBoolean, decodeBoolean],
71-
visible: [true, 'v', encodeOptionalBool, decodeOptionalBool],
71+
visible: [undefined, 'v', encodeOptionalBool, decodeOptionalBool],
7272
met: [undefined, 'm', encodeArray, decodeArray],
7373
};
7474

@@ -87,7 +87,7 @@ export class UsersQuery extends Query implements UsersQueryInterface {
8787

8888
public available?: boolean;
8989

90-
public visible?: boolean = true;
90+
public visible?: boolean;
9191

9292
public met?: [string, Role];
9393

0 commit comments

Comments
 (0)