Function ::exo::db::remove_favorite

Overview
async fn remove_favorite(value, value1) -> Result

Removes a record to from the users favorites. This function will not fail, when the given record was not part of the favorites.

Example:

let user = exo::get_user();
let record = exo::get_record()?;
assert!(exo::db::remove_favorite(user.uuid, record.uuid).await.is_ok());