minor change

This commit is contained in:
End 2026-03-28 06:58:36 -07:00
parent da7faa4dbe
commit d5cc163883
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -139,7 +139,7 @@ async def create_category_tag_view(
await create_category_tag_view_callback(ack, body, client)
@app.action(re.compile(r"^edit-category-tag-\d+$"))
@app.action("edit-category-tag")
async def edit_category_tag(
ack: AsyncAck, body: Dict[str, Any], client: AsyncWebClient
):

View file

@ -42,7 +42,7 @@ async def get_category_tags_view(user: User | None) -> dict:
text=text,
accessory=Button(
text=":pencil2: Edit",
action_id=f"edit-category-tag-{tag.id}",
action_id="edit-category-tag",
value=str(tag.id),
),
)