Fix typo in queries.sql (#1432)

defualt -> default
This commit is contained in:
Ikko Eltociear Ashimine 2023-08-06 13:36:44 +09:00 committed by GitHub
parent 2215511f2c
commit a1c507b477
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -466,7 +466,7 @@ WITH campLists AS (
WHERE lists.id = ANY($14::INT[]) WHERE lists.id = ANY($14::INT[])
), ),
tpl AS ( tpl AS (
-- If there's no template_id given, use the defualt template. -- If there's no template_id given, use the default template.
SELECT (CASE WHEN $13 = 0 THEN id ELSE $13 END) AS id FROM templates WHERE is_default IS TRUE SELECT (CASE WHEN $13 = 0 THEN id ELSE $13 END) AS id FROM templates WHERE is_default IS TRUE
), ),
counts AS ( counts AS (