Server settings not updating due to a db column removed

This commit is contained in:
Jeremy Zhang 2018-01-24 21:33:14 +00:00
parent 4197c34cf4
commit 074a6e6986
2 changed files with 0 additions and 2 deletions

View File

@ -201,7 +201,6 @@ def update_administrate_guild(guild_id):
db_guild.guest_icon = guest_icon db_guild.guest_icon = guest_icon
emit("guest_icon_change", {"guest_icon": guest_icon if guest_icon else url_for('static', filename='img/titanembeds_square.png')}, room="GUILD_"+guild_id, namespace="/gateway") emit("guest_icon_change", {"guest_icon": guest_icon if guest_icon else url_for('static', filename='img/titanembeds_square.png')}, room="GUILD_"+guild_id, namespace="/gateway")
return jsonify( return jsonify(
id=db_guild.id,
guild_id=db_guild.guild_id, guild_id=db_guild.guild_id,
unauth_users=db_guild.unauth_users, unauth_users=db_guild.unauth_users,
visitor_view=db_guild.visitor_view, visitor_view=db_guild.visitor_view,

View File

@ -250,7 +250,6 @@ def update_administrate_guild(guild_id):
emit("guest_icon_change", {"guest_icon": guest_icon if guest_icon else url_for('static', filename='img/titanembeds_square.png')}, room="GUILD_"+guild_id, namespace="/gateway") emit("guest_icon_change", {"guest_icon": guest_icon if guest_icon else url_for('static', filename='img/titanembeds_square.png')}, room="GUILD_"+guild_id, namespace="/gateway")
return jsonify( return jsonify(
id=db_guild.id,
guild_id=db_guild.guild_id, guild_id=db_guild.guild_id,
unauth_users=db_guild.unauth_users, unauth_users=db_guild.unauth_users,
visitor_view=db_guild.visitor_view, visitor_view=db_guild.visitor_view,