rename method

This commit is contained in:
yggverse 2024-11-20 11:41:20 +02:00
parent ab003209b0
commit 5128324f8e
2 changed files with 3 additions and 3 deletions

View file

@ -41,7 +41,7 @@ impl Auth {
/// * deactivate active auth by remove previous records from `Self` database
/// * reindex `Self` memory index on success
/// * return last insert `profile_identity_gemini_auth_id` on success
pub fn apply(&self, profile_identity_gemini_id: i64, url: &str) -> Result<i64, Error> {
pub fn activate(&self, profile_identity_gemini_id: i64, url: &str) -> Result<i64, Error> {
// Get all records match request
match self.database.records(Some(url)) {
Ok(records) => {