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:
parent
b436aa617c
commit
03a7b378ba
@ -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