mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
fix all errors
This commit is contained in:
@@ -39,7 +39,10 @@ export class HttpService {
|
||||
let httpParams = new HttpParams();
|
||||
if (options?.params) {
|
||||
Object.keys(options.params).forEach(key => {
|
||||
httpParams = httpParams.append(key, String(options.params[key]));
|
||||
if(options.params[key]) {
|
||||
httpParams = httpParams.append(key, options.params[key]);
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user