mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
fix(core): Use class-validator with XSS check for survey answers (#10490)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
This commit is contained in:
@@ -8,6 +8,7 @@ import type {
|
||||
INodeCredentials,
|
||||
INodeParameters,
|
||||
INodeTypeNameVersion,
|
||||
IPersonalizationSurveyAnswersV4,
|
||||
IUser,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
@@ -235,7 +236,7 @@ export declare namespace MeRequest {
|
||||
{},
|
||||
{ currentPassword: string; newPassword: string; mfaCode?: string }
|
||||
>;
|
||||
export type SurveyAnswers = AuthenticatedRequest<{}, {}, Record<string, string> | {}>;
|
||||
export type SurveyAnswers = AuthenticatedRequest<{}, {}, IPersonalizationSurveyAnswersV4>;
|
||||
}
|
||||
|
||||
export interface UserSetupPayload {
|
||||
|
||||
Reference in New Issue
Block a user