fix: Published Dashboard without charts don't show up for non admin users (#20638)

This commit is contained in:
Diego Medina
2022-07-27 15:40:59 -03:00
committed by GitHub
parent ab415fddd9
commit 8b354b4b69
2 changed files with 2 additions and 2 deletions

View File

@@ -494,7 +494,7 @@ class InsertRLSState(str, Enum):
def has_table_query(token_list: TokenList) -> bool:
"""
Return if a stament has a query reading from a table.
Return if a statement has a query reading from a table.
>>> has_table_query(sqlparse.parse("COUNT(*)")[0])
False