Skip to content

Commit c8155bd

Browse files
committed
Update document-validation.server.data-source.ts
1 parent 1a0c4fb commit c8155bd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/packages/documents/documents/repository/validation/document-validation.server.data-source.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
DocumentService,
55
type UpdateDocumentRequestModel,
66
} from '@umbraco-cms/backoffice/external/backend-api';
7+
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
78
import { tryExecute } from '@umbraco-cms/backoffice/resources';
89

910
/**
@@ -20,7 +21,9 @@ export class UmbDocumentValidationServerDataSource {
2021
* @param {UmbControllerHost} host
2122
* @memberof UmbDocumentPublishingServerDataSource
2223
*/
23-
constructor() {
24+
// TODO: [v15]: ignoring unused var here here to prevent a breaking change
25+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
26+
constructor(host: UmbControllerHost) {
2427
//this.#host = host;
2528
}
2629

0 commit comments

Comments
 (0)