xiangfu0 commented on code in PR #11602: URL: https://github.com/apache/pinot/pull/11602#discussion_r1327764780
########## pinot-controller/src/main/resources/app/requests/index.ts: ########## @@ -229,13 +229,13 @@ export const rebalanceBrokersForTable = (tableName: string): Promise<AxiosRespon baseApi.post(`/tables/${tableName}/rebuildBrokerResourceFromHelixTags`, null, {headers}); export const validateSchema = (schemaObject: string): Promise<AxiosResponse<OperationResponse>> => - baseApi.post(`/schemas/validate`, JSON.stringify(schemaObject), {headers}); + baseApi.post(`/schemas/validate`, schemaObject, {headers}); export const validateTable = (tableObject: string): Promise<AxiosResponse<OperationResponse>> => baseApi.post(`/tables/validate`, JSON.stringify(tableObject), {headers}); Review Comment: does it apply to `/tables` API as well? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org