Strict done!!
This commit is contained in:
1 parent
af343cb7f9
commit
afe746ecdc
142 files changed
+1258
-907
No files matched your search
@@ -46,8 +46,8 @@ export class SettingsService {
|
||||
quantity: number,
|
||||
): Observable<boolean> {
|
||||
const url = '/api/reset-stock';
|
||||
return this.http
|
||||
.post<any>(`${url}/${product.id}`, { stockDate, resetDate, quantity })
|
||||
return <Observable<boolean>>this.http
|
||||
.post<boolean>(`${url}/${product.id}`, { stockDate, resetDate, quantity })
|
||||
.pipe(catchError(this.log.handleError(serviceName, 'resetStock')));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user