Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(
@Inject(NgZone) private zone: NgZone,
private router: Router,
private route:ActivatedRoute,
private bookService: BookService,
private authorService: AuthorService,
private categoryService: CategoryService,
private publisherService: PublisherService
) {
const {url} = this.router
this.setTitle(url)
this.getDefaults()
this.options = new NgUploaderOptions({
url: 'http://api.ngx-uploader.com/upload',
autoUpload: false,
previewUrl: true
})
}