Skip to content

Commit b07f061

Browse files
authored
fix: add default options to security:checkRights (#757)
1 parent 44ff2b9 commit b07f061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/Security.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class SecurityController extends BaseController {
5252
checkRights(
5353
kuid,
5454
requestPayload,
55-
options: ArgsSecurityControllerCheckRights
55+
options: ArgsSecurityControllerCheckRights = {}
5656
) {
5757
const request = {
5858
action: "checkRights",

0 commit comments

Comments
 (0)