2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 11:29:03 +00:00

Merge pull request #11 from achillesrasquinha/8

[MINOR] Return data instead of d
This commit is contained in:
Rushabh Mehta 2018-02-01 15:04:22 +05:30 committed by GitHub
commit bd2a7dcb6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ module.exports = class BaseDocument {
if (data.prototype instanceof Document) { if (data.prototype instanceof Document) {
return data; return data;
} else { } else {
return new Document(d); return new Document(data);
} }
} }