Skip to content

Commit

Permalink
Merge pull request #539 from HubSpot/issue/update-hubdb-publish-endpoint
Browse files Browse the repository at this point in the history
Updated HubDB publish endpoint
  • Loading branch information
miketalley authored Aug 18, 2021
2 parents b2c8843 + 0fe6132 commit 8b50f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli-lib/api/hubdb.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async function updateTable(accountId, tableId, schema) {

async function publishTable(accountId, tableId) {
return http.post(accountId, {
uri: `${HUBDB_API_PATH}/tables/${tableId}/draft/push-live`,
uri: `${HUBDB_API_PATH}/tables/${tableId}/draft/publish`,
});
}

Expand Down

0 comments on commit 8b50f22

Please sign in to comment.