Skip to content

Commit

Permalink
fix(api): Fix color typedef
Browse files Browse the repository at this point in the history
  • Loading branch information
thehappydinoa committed Sep 15, 2021
1 parent ec3490b commit f8b0b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion censys/search/v2/api.py
Expand Up @@ -353,7 +353,7 @@ def get_tag(self, tag_id: str) -> dict:
"""
return self._get(self.tags_path + "/" + tag_id)["result"]

def update_tag(self, tag_id: str, name: str, color: str) -> dict:
def update_tag(self, tag_id: str, name: str, color: Optional[str] = None) -> dict:
"""Update a tag.
Args:
Expand Down

0 comments on commit f8b0b58

Please sign in to comment.