File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ export class FrappeDB {
248
248
doctype,
249
249
old_name : oldname ,
250
250
new_name : newname ,
251
- merge : merge ,
251
+ merge,
252
252
} )
253
253
. then ( ( res ) => res . data )
254
254
. catch ( ( error ) => {
@@ -267,7 +267,7 @@ export class FrappeDB {
267
267
* @param {string } doctype Name of the doctype
268
268
* @param {FieldName } [fieldname] - Fields to be returned (default `name`)
269
269
* @param {Filter[] } [filters] Filters to be applied in the get query
270
- * @param {boolean } as_dict Return as dict(object) or list (array)
270
+ * @param {boolean } asDict Return as dict(object) or list (array)
271
271
* @param {boolean } [debug] Whether to print debug messages or not
272
272
* @param {string } parent Parent doctype name to fetch child table record
273
273
* @returns Promise which resolves an object with specified fieldnames
@@ -276,16 +276,16 @@ export class FrappeDB {
276
276
doctype : string ,
277
277
fieldname ?: FieldName ,
278
278
filters ?: Filter < T > [ ] ,
279
- as_dict : boolean = true ,
279
+ asDict : boolean = true ,
280
280
debug : boolean = false ,
281
281
parent : string | null = null ,
282
282
) : Promise < T > {
283
283
const params : any = {
284
284
doctype,
285
285
fieldname : '[]' ,
286
286
filters : [ ] ,
287
- as_dict : as_dict ,
288
- debug : debug ,
287
+ as_dict : asDict ,
288
+ debug,
289
289
parent : null ,
290
290
} ;
291
291
You can’t perform that action at this time.
0 commit comments