fix: tag delete

pull/47/head
db0 2023-10-03 10:21:36 +02:00
parent 1f11b6b58c
commit 687e8599fd
4 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,9 @@
# Changelog # Changelog
# 0.19.1
* Fixed Deleting tags
# 0.19.0 # 0.19.0
* Added instance Tags. Instance owners can add and remove them * Added instance Tags. Instance owners can add and remove them

View File

@ -1,4 +1,4 @@
FEDISEER_VERSION = "0.19.0" FEDISEER_VERSION = "0.19.1"
SUPPORTED_SOFTWARE = { SUPPORTED_SOFTWARE = {
"lemmy", "lemmy",
"mastodon", "mastodon",

View File

@ -486,7 +486,7 @@ def instance_has_flag(instance_id, flag_enum):
def get_instance_tag(instance_id, tag: str): def get_instance_tag(instance_id, tag: str):
query = InstanceTag.query.filter( query = InstanceTag.query.filter(
InstanceTag.instance_id == instance_id, InstanceTag.instance_id == instance_id,
InstanceTag.flag == tag, InstanceTag.tag == tag,
) )
return query.first() return query.first()

View File

@ -33,5 +33,6 @@ However using the endorsement system, you can create a further customized whitel
These are the people who made this software possible. These are the people who made this software possible.
* [Db0](https://dbzer0.com) - Development and Maintenance. * [Db0](https://dbzer0.com) - Development and Maintenance.
* [Rikudou](https://lemmings.world/u/rikudou) - GUI Development.
<a rel="me" href="https://botsin.space/@fediseer"></a> <a rel="me" href="https://botsin.space/@fediseer"></a>