diff --git a/packages/client-sdk/package.json b/packages/client-sdk/package.json index 8e946f7..352de80 100644 --- a/packages/client-sdk/package.json +++ b/packages/client-sdk/package.json @@ -1,6 +1,6 @@ { "name": "tianji-client-sdk", - "version": "1.1.0", + "version": "1.1.1", "description": "", "main": "lib/index.js", "scripts": { diff --git a/packages/react/package.json b/packages/react/package.json index c6dd0ec..652ff0e 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "tianji-client-react", - "version": "1.0.0", + "version": "1.0.1", "description": "", "main": "lib/index.js", "scripts": { diff --git a/packages/react/src/useTianjiSurvey.ts b/packages/react/src/useTianjiSurvey.ts index 3a03448..29a8151 100644 --- a/packages/react/src/useTianjiSurvey.ts +++ b/packages/react/src/useTianjiSurvey.ts @@ -6,7 +6,7 @@ import { } from 'tianji-client-sdk'; type SurveyInfo = - openApiClient.$OpenApiTs['/workspace/{workspaceId}/survey/{surveyId}']['get']['res']['200']; + openApiClient.$OpenApiTs['/workspace/{workspaceId}/survey/{surveyId}/get']['get']['res']['200']; interface UseTianjiSurveyOptions { baseUrl?: string;