summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole3/frontend/src/app/api/command.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'admin/WebConsole3/frontend/src/app/api/command.service.ts')
-rw-r--r--admin/WebConsole3/frontend/src/app/api/command.service.ts52
1 files changed, 26 insertions, 26 deletions
diff --git a/admin/WebConsole3/frontend/src/app/api/command.service.ts b/admin/WebConsole3/frontend/src/app/api/command.service.ts
index fe77bda3..28b18520 100644
--- a/admin/WebConsole3/frontend/src/app/api/command.service.ts
+++ b/admin/WebConsole3/frontend/src/app/api/command.service.ts
@@ -1,26 +1,26 @@
-import { Injectable } from '@angular/core';
-import { HttpClient} from '@angular/common/http';
-
-import { environment } from '../../environments/environment';
-import { Command } from '../model/command';
-import { CommandSerializer } from '../serializer/command.serializer';
-
-import {ResourceService} from 'globunet-angular/core/providers/api/resource.service';
-import {Observable} from 'rxjs';
-
-
-@Injectable({
- providedIn: 'root'
-})
-export class CommandService extends ResourceService<Command> {
-
- constructor(http: HttpClient) {
- super(http, environment.API_URL, 'commands', new CommandSerializer());
- }
-
- execute(params): Observable<any> {
- const url = this.url + 'executes.json';
- return this.httpClient.post(url, params);
- }
-
-}
+import {Injectable} from '@angular/core';
+import {HttpClient} from '@angular/common/http';
+
+import {environment} from '../../environments/environment';
+import {Command} from '../model/command';
+import {CommandSerializer} from '../serializer/command.serializer';
+
+import {ResourceService} from 'globunet-angular/core/providers/api/resource.service';
+import {Observable} from 'rxjs';
+
+
+@Injectable({
+ providedIn: 'root'
+})
+export class CommandService extends ResourceService<Command> {
+
+ constructor(http: HttpClient) {
+ super(http, environment.API_URL, 'commands', new CommandSerializer());
+ }
+
+ execute(params): Observable<any> {
+ const url = this.url + '/commands/executes.json';
+ return this.httpClient.post(url, params);
+ }
+
+}