Skip to content

Commit 01c34c0

Browse files
committed
chore: linting
1 parent fe560eb commit 01c34c0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/db/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ export class FrappeDB {
248248
doctype,
249249
old_name: oldname,
250250
new_name: newname,
251-
merge: merge,
251+
merge,
252252
})
253253
.then((res) => res.data)
254254
.catch((error) => {
@@ -267,7 +267,7 @@ export class FrappeDB {
267267
* @param {string} doctype Name of the doctype
268268
* @param {FieldName} [fieldname] - Fields to be returned (default `name`)
269269
* @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)
271271
* @param {boolean} [debug] Whether to print debug messages or not
272272
* @param {string} parent Parent doctype name to fetch child table record
273273
* @returns Promise which resolves an object with specified fieldnames
@@ -276,16 +276,16 @@ export class FrappeDB {
276276
doctype: string,
277277
fieldname?: FieldName,
278278
filters?: Filter<T>[],
279-
as_dict: boolean = true,
279+
asDict: boolean = true,
280280
debug: boolean = false,
281281
parent: string | null = null,
282282
): Promise<T> {
283283
const params: any = {
284284
doctype,
285285
fieldname: '[]',
286286
filters: [],
287-
as_dict: as_dict,
288-
debug: debug,
287+
as_dict: asDict,
288+
debug,
289289
parent: null,
290290
};
291291

0 commit comments

Comments
 (0)