fix: postgres query (#19357)

Double quotes are supposed to be used for table/columns only in
postgres. Mariadb is fine with either.


[skip ci]
This commit is contained in:
Ankush Menat 2022-12-20 12:50:00 +05:30 committed by GitHub
parent f52869482d
commit 89a34159f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,7 +141,7 @@ def get_default_contact(doctype, name):
where
dl.link_doctype=%s and
dl.link_name=%s and
dl.parenttype = "Contact"''',
dl.parenttype = 'Contact' ''',
(doctype, name),
as_dict=True,
)