Skip to content

Commit

Permalink
fix logic error for admin detection in syncer
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunsi committed Dec 23, 2024
1 parent d617991 commit 09a3ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncer.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def asset_to_tiles(asset: Asset):
}
)

if REDIS.get(f"admin:{asset.userid}") == "1":
if REDIS.get(f"admin:{asset.userid}") != "1":
tiles.append(
{
"type": "flat",
Expand Down

0 comments on commit 09a3ebf

Please sign in to comment.