This commit is contained in:
Tom Moor
2023-07-23 13:11:02 -04:00
parent 217e53d8b6
commit 7bc37cb700
2 changed files with 5 additions and 1 deletions

View File

@@ -352,7 +352,7 @@ export default class Document extends ParanoidModel {
@action
save = async (
fields: Partial<Document> | undefined,
fields?: Partial<Document> | undefined,
options?: SaveOptions | undefined
) => {
const params = fields ?? this.toAPI();