mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-10-16 02:46:16 -05:00
Updates some Python dependencies and the hooks
This commit is contained in:
@@ -8,7 +8,10 @@ import { environment } from 'src/environments/environment'
|
||||
export abstract class AbstractPaperlessService<T extends ObjectWithId> {
|
||||
protected baseUrl: string = environment.apiBaseUrl
|
||||
|
||||
constructor(protected http: HttpClient, private resourceName: string) {}
|
||||
constructor(
|
||||
protected http: HttpClient,
|
||||
private resourceName: string
|
||||
) {}
|
||||
|
||||
protected getResourceUrl(id: number = null, action: string = null): string {
|
||||
let url = `${this.baseUrl}${this.resourceName}/`
|
||||
|
Reference in New Issue
Block a user