Link key added to user files

This commit is contained in:
Profitroll 2022-10-23 00:35:31 +02:00
parent f6e63320ad
commit 64e0d095ce

View File

@ -148,6 +148,7 @@ async def callback_query_accept(app, clb):
))
configSet("approved", True, file=fullclb[2])
configSet("link", link.invite_link, file=fullclb[2])
application = jsonLoad(f"{configGet('data', 'locations')}{sep}applications.json")
application[fullclb[2]]["approved"] = True