From 7921f70db5c60096c093e6c59bb021af637b9391 Mon Sep 17 00:00:00 2001 From: Enzo Cioppettini Date: Mon, 25 Mar 2024 13:38:18 -0300 Subject: [PATCH] fix bitmask doc on RelationFilter --- docs/bin/openapi.json | 2 +- webserver/shared/models/common.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/bin/openapi.json b/docs/bin/openapi.json index 89cc7dae..a2363371 100644 --- a/docs/bin/openapi.json +++ b/docs/bin/openapi.json @@ -1206,7 +1206,7 @@ "type": "number", "format": "double", "example": 255, - "description": "Filter which uses of the address are considered relevant for the query.\n\nThis is a bitmask, so you can combine multiple options\nex: `RelationFilterType.Input & RelationFilterType.Output`\n\nNote: relations only apply to credentials and not to full bech32 addresses", + "description": "Filter which uses of the address are considered relevant for the query.\n\nThis is a bitmask, so you can combine multiple options\nex: `RelationFilterType.Input | RelationFilterType.Output`\n\nNote: relations only apply to credentials and not to full bech32 addresses", "pattern": "([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])" }, "TransactionHistoryRequest": { diff --git a/webserver/shared/models/common.ts b/webserver/shared/models/common.ts index ba044498..e5fefd61 100644 --- a/webserver/shared/models/common.ts +++ b/webserver/shared/models/common.ts @@ -4,7 +4,7 @@ import { AssetName, PolicyId } from "./PolicyIdAssetMap"; * Filter which uses of the address are considered relevant for the query. * * This is a bitmask, so you can combine multiple options - * ex: `RelationFilterType.Input & RelationFilterType.Output` + * ex: `RelationFilterType.Input | RelationFilterType.Output` * * Note: relations only apply to credentials and not to full bech32 addresses * @pattern ([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])