mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
Merge pull request #11 from achillesrasquinha/8
[MINOR] Return data instead of d
This commit is contained in:
commit
bd2a7dcb6f
@ -66,7 +66,7 @@ module.exports = class BaseDocument {
|
||||
if (data.prototype instanceof Document) {
|
||||
return data;
|
||||
} else {
|
||||
return new Document(d);
|
||||
return new Document(data);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user