File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -79,28 +79,6 @@ export const createImpersonationRequestService = async (
7979 }
8080} ;
8181
82- /**
83- * Validates whether an impersonation request can be updated by the given user.
84- * @async
85- * @function validateUpdateImpersonationRequestService
86- * @param {string } requestId - The ID of the impersonation request to validate.
87- * @param {string } lastModifiedBy - The user ID attempting the update.
88- * @throws {NotFound } If the request does not exist.
89- * @throws {Forbidden } If the request is already approved, rejected, or the user is unauthorized.
90- * @throws {Error } For any other error during validation.
91- */
92- export const validateUpdateImpersonationRequestService = async (
93- requestId : string ,
94- lastModifiedBy : string
95- ) => {
96- try {
97-
98- } catch ( error ) {
99- logger . error ( "Error while validating update request" , error ) ;
100- throw error ;
101- }
102- } ;
103-
10482/**
10583 * Validates and Updates an impersonation request and logs the update action.
10684 * @async
You can’t perform that action at this time.
0 commit comments