2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00

return data instead of d

This commit is contained in:
Achilles Rasquinha 2018-02-01 14:59:25 +05:30
parent b436aa617c
commit 03a7b378ba

View File

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