fix: move forwarded attribute to output

This commit is contained in:
Johann150 2022-01-20 18:38:42 +01:00
parent ecbb766df6
commit 1ec756519e
Signed by: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -65,6 +65,11 @@ export const meta = {
nullable: true, optional: true,
ref: 'User',
},
forwarded: {
type: 'boolean',
nullable: false, optional: false,
example: false,
},
},
},
},
@ -79,7 +84,6 @@ export const paramDef = {
state: { type: 'string', nullable: true, default: null },
reporterOrigin: { type: 'string', enum: ['combined', 'local', 'remote'], default: "combined" },
targetUserOrigin: { type: 'string', enum: ['combined', 'local', 'remote'], default: "combined" },
forwarded: { type: 'boolean', default: false },
},
required: [],
} as const;