mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
refactor(editor): Update endpoint to retrieve limits (no-changelog) (#6539)
update endpoint to retrieve limits
This commit is contained in:
parent
e1a02c7625
commit
e43924da36
|
@ -9,5 +9,5 @@ export async function getCurrentPlan(
|
|||
}
|
||||
|
||||
export async function getCurrentUsage(context: IRestApiContext): Promise<InstanceUsage> {
|
||||
return get(context.baseUrl, '/limits');
|
||||
return get(context.baseUrl, '/cloud/limits');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue