Skip to content

Commit bfa468a

Browse files
committed
Update main.py
1 parent 7885ce6 commit bfa468a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

seatable_api/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,8 @@ def update_link(self, link_id, table_id, other_table_id, row_id, other_rows_ids)
448448
:param row_id: str
449449
:param other_rows_ids: list
450450
"""
451+
if not isinstance(other_rows_ids, list):
452+
raise ValueError("Param other_rows_ids expect type 'list'")
451453
url = self._row_link_server_url()
452454
json_data = {
453455
'link_id': link_id,

0 commit comments

Comments
 (0)