Add manual test for PIS endpoint

This commit is contained in:
2026-02-21 11:17:01 +00:00
parent 4fd95189ce
commit edca2698a7
4 changed files with 65 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ export class PisModule {
constructor(private client: BaseClient) {}
async getByStartEndCrs(startCrs: string, endCrs: string): Promise<ApiResult<ApiPisObject.PisObjects>> {
const path = `/pis/route/${encodeURIComponent(startCrs.toUpperCase())}/${encodeURIComponent(endCrs.toUpperCase())}`;
const path = `/pis/route/${encodeURIComponent(startCrs.toLowerCase())}/${encodeURIComponent(endCrs.toLowerCase())}`;
return this.client.request<ApiPisObject.PisObjects>(path, {
method: 'GET',