mirror of
https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
synced 2025-08-10 07:16:37 +02:00
Fix:impossible de modifier des configs existantes
This commit is contained in:
@ -342,7 +342,7 @@ def config_post():
|
||||
with open("/app/MsRewards-Reborn/user_data/configs.json", "r") as inFile:
|
||||
configs = json.load(inFile)
|
||||
|
||||
if action["data"] == "delete":
|
||||
if action["action"] == "delete":
|
||||
print(action["config"])
|
||||
configs.pop(action["config"])
|
||||
else :
|
||||
|
Reference in New Issue
Block a user