Merge pull request 'fix(테이블타입): IDX/label API payload key snake_case 통일' (#14) from johngreen into main
Build & Deploy to K8s / build-and-deploy (push) Successful in 7m1s
Build & Deploy to K8s / build-and-deploy (push) Successful in 7m1s
This commit was merged in pull request #14.
This commit is contained in:
@@ -756,7 +756,7 @@ export default function TableManagementPage() {
|
|||||||
if (tableLabel !== selectedTable || tableDescription) {
|
if (tableLabel !== selectedTable || tableDescription) {
|
||||||
try {
|
try {
|
||||||
await apiClient.put(`/table-management/tables/${selectedTable}/label`, {
|
await apiClient.put(`/table-management/tables/${selectedTable}/label`, {
|
||||||
displayName: tableLabel,
|
display_name: tableLabel,
|
||||||
description: tableDescription,
|
description: tableDescription,
|
||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@@ -1055,8 +1055,8 @@ export default function TableManagementPage() {
|
|||||||
const action = checked ? "create" : "drop";
|
const action = checked ? "create" : "drop";
|
||||||
try {
|
try {
|
||||||
const response = await apiClient.post(`/table-management/tables/${selectedTable}/indexes`, {
|
const response = await apiClient.post(`/table-management/tables/${selectedTable}/indexes`, {
|
||||||
columnName,
|
column_name: columnName,
|
||||||
indexType,
|
index_type: indexType,
|
||||||
action,
|
action,
|
||||||
});
|
});
|
||||||
if (response.data.success) {
|
if (response.data.success) {
|
||||||
|
|||||||
Reference in New Issue
Block a user