Skip to content

Commit 97ecc79

Browse files
author
yaroslav8765
committed
fix: Correct indentation for date conversion in getFieldValue method
1 parent f7863a4 commit 97ecc79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/dataConnectors/mongo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ class MongoConnector extends AdminForthBaseConnector implements IAdminForthDataS
194194
if (!value) {
195195
return null;
196196
}
197-
return dayjs(value).toDate();
197+
return dayjs(value).toDate();
198198

199199
} else if (field.type == AdminForthDataTypes.BOOLEAN) {
200200
return value === null ? null : (value ? true : false);

0 commit comments

Comments
 (0)