1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-11 03:34:35 +00:00

fix: principalId type changed to number from any

This commit is contained in:
2022-05-18 00:03:11 +05:00
parent d000f7508f
commit 4fcc191ce9
2 changed files with 3 additions and 3 deletions

View File

@@ -34,10 +34,10 @@ interface RegisterPermissionPayload {
*/
principalType: string
/**
* The id of user(number), group(name), or client(clientId) to which a rule is assigned.
* The id of user or group to which a rule is assigned.
* @example 123
*/
principalId: any
principalId: number
}
interface UpdatePermissionPayload {