feat: rabbit review changes

This commit is contained in:
=
2025-04-09 15:09:54 +05:30
parent 3aed79071b
commit c01e29b932
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -76,10 +76,9 @@ const buildKnexQuery = (
return void qb.orWhereILike(el, `%${value}%`); return void qb.orWhereILike(el, `%${value}%`);
}); });
}); });
break;
} }
default: default:
break; throw new Error(`Unsupported operator: ${String(operator)}`);
} }
}; };
@@ -355,7 +355,7 @@ export const registerIdentityRouter = async (server: FastifyZodProvider) => {
}) })
.partial() .partial()
]) ])
.describe(IDENTITIES.SEARCH.search.name) .describe(IDENTITIES.SEARCH.search.role)
}) })
.describe(IDENTITIES.SEARCH.search.desc) .describe(IDENTITIES.SEARCH.search.desc)
.partial() .partial()