mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 06:19:44 +00:00
http service object fix
This commit is contained in:
committed by
Aiden McClelland
parent
d1b8f51b78
commit
2ff9c622ac
@@ -70,7 +70,7 @@ export class HttpService {
|
||||
this.fullUrl + httpOpts.url :
|
||||
httpOpts.url
|
||||
|
||||
Object.keys(httpOpts.params).forEach(key => {
|
||||
Object.keys(httpOpts.params || { }).forEach(key => {
|
||||
if (httpOpts.params[key] === undefined) {
|
||||
delete httpOpts.params[key]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user