Closed jordansissel closed 8 years ago
Doing the following to delete a user metadata key will only temporarily remove that key from the user's metadata.
request.user.metadata.delete("fancy") request.user.save
Upon restarting Lita, the old "fancy" key is still present. I think to solve this, we'll need to use redis HKEYS + HDEL to delete any keys that are not present in the user metadata during save.
Doing the following to delete a user metadata key will only temporarily remove that key from the user's metadata.
Upon restarting Lita, the old "fancy" key is still present. I think to solve this, we'll need to use redis HKEYS + HDEL to delete any keys that are not present in the user metadata during save.