diff --git a/src/components/api/Usage.vue b/src/components/api/Usage.vue index dcb029c1..2e5627b4 100644 --- a/src/components/api/Usage.vue +++ b/src/components/api/Usage.vue @@ -82,7 +82,8 @@ export default defineComponent({ getApplications() { applicationOperator .getAll({ - user_id: this.$store.getters.user?.id + user_id: this.$store.getters.user?.id, + api_id: this.api.id }) .then(({ data: data }: { data: IApplicationListResponse }) => { this.applications = data.items; diff --git a/src/operators/application/operator.ts b/src/operators/application/operator.ts index ac14bde5..e6cddfe6 100644 --- a/src/operators/application/operator.ts +++ b/src/operators/application/operator.ts @@ -7,6 +7,7 @@ export interface IApplicationQuery { offset?: number; limit?: number; type?: IApplicationType; + api_id?: string; } class ApplicationOperator {