We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e0ac98 commit 9b3ace7Copy full SHA for 9b3ace7
1 file changed
ui/src/app/services/data.service.ts
@@ -18,10 +18,6 @@ type EventCallback = (data?: any) => void
18
export class DataService {
19
route = ''
20
21
- constructor (
22
- public bridge: Bridge
23
- ) {}
24
-
25
async request (opts: RequestOptions): Promise<any> {
26
if (opts.endpoint && opts.endpoint[0] !== '/') opts.endpoint = `/${opts.endpoint}`
27
const args: [string, any?] = [ `${opts.method} ${this.route}${opts.endpoint || ''}`, opts.data ]
0 commit comments