Rename signature filter state field to profileState
The DocumentVersionSignatureFilter exposed a field named `state` that actually filters on the signatory's profile state, which was ambiguous next to the signature `states` field. Rename it to `profileState` (GraphQL) / `profile_state` (MCP) across the schema, spec, resolvers, console app, and n8n node for clarity. Signed-off-by: Sacha Al Himdani <sacha@probo.com>
This commit is contained in:
@@ -119,7 +119,7 @@ export async function execute(
|
||||
const filter: IDataObject = {};
|
||||
if ((filters.states as string[])?.length) filter.states = filters.states;
|
||||
if (filters.activeContract !== undefined) filter.activeContract = filters.activeContract;
|
||||
if (filters.state) filter.state = filters.state;
|
||||
if (filters.state) filter.profileState = filters.state;
|
||||
|
||||
const hasFilter = Object.keys(filter).length > 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user