upload edit

This commit is contained in:
Aaron Lee 2021-10-01 11:48:39 +08:00
parent 614d984553
commit e5f79463ae

View file

@ -60,7 +60,7 @@ def upload_homeroom():
db.child("Users").child(user['localId']).update({ db.child("Users").child(user['localId']).update({
"permission": 'homeroom', "permission": 'homeroom',
"username": gradec + classc, "username": gradec + classc,
"homeroom": gradec + classc "homeroom": gradec + '^' + classc
}) })
else: else:
db.child("Homerooms").child(gradec).child( db.child("Homerooms").child(gradec).child(