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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user