mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 04:01:58 +00:00
observe response not events in http reqs to effectively use firstValueFrom
This commit is contained in:
committed by
Aiden McClelland
parent
13411f1830
commit
5404ebce1c
@@ -70,8 +70,7 @@ export class HttpService {
|
||||
const options = {
|
||||
responseType: httpOpts.responseType || 'json',
|
||||
body: httpOpts.body,
|
||||
observe: 'events',
|
||||
reportProgress: false,
|
||||
observe: 'response',
|
||||
withCredentials: httpOpts.withCredentials,
|
||||
headers: httpOpts.headers,
|
||||
params: httpOpts.params,
|
||||
|
||||
Reference in New Issue
Block a user