summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/shared/api/scope.service.ts
blob: 11e5da80a03abf89b227ddeba8dd33cf5fd7701b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';

@Injectable({
  providedIn: 'root'
})
export class ScopeService {
  constructor(private http: HttpClient) {}

  list() {
    return this.http.get('ui-api/scope');
  }
}