@myvillage/cli 1.7.1 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/utils/api.js CHANGED
@@ -378,8 +378,8 @@ export async function structureCheckin(data) {
378
378
  // ── OAuth Client Registration ────────────────────────────
379
379
 
380
380
  export async function registerOAuthClient(name, appType, redirectUris) {
381
- const client = getNetworkClient();
382
- const response = await client.post('/api/oauth/clients/register', {
381
+ const client = getPlatformClient();
382
+ const response = await client.post('/oauth/clients/register', {
383
383
  name,
384
384
  appType,
385
385
  redirectUris,