oauth2 typo (#2290)

This commit is contained in:
James Hodgkinson 2023-11-04 16:45:40 +10:00 committed by GitHub
parent f17bc6156c
commit b9d47fe8f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -2023,7 +2023,7 @@ impl<'a> IdmServerProxyWriteTransaction<'a> {
#[instrument(level = "debug", skip_all)]
pub fn commit(mut self) -> Result<(), OperationError> {
if self.qs_write.get_changed_ouath2() {
if self.qs_write.get_changed_oauth2() {
self.qs_write
.get_oauth2rs_set()
.and_then(|oauth2rs_set| self.oauth2rs.reload(oauth2rs_set))?;

View file

@ -1657,12 +1657,12 @@ impl<'a> QueryServerWriteTransaction<'a> {
self.changed_schema = true;
}
#[instrument(level = "debug", skip_all)]
#[instrument(level = "info", skip_all)]
pub(crate) fn upgrade_reindex(&mut self, v: i64) -> Result<(), OperationError> {
self.be_txn.upgrade_reindex(v)
}
pub(crate) fn get_changed_ouath2(&self) -> bool {
pub(crate) fn get_changed_oauth2(&self) -> bool {
self.changed_oauth2
}
@ -1715,7 +1715,7 @@ impl<'a> QueryServerWriteTransaction<'a> {
self.be_txn.clear_cache()
}
#[instrument(level = "info", skip_all)]
#[instrument(level = "info", name="qswt_commit" skip_all)]
pub fn commit(mut self) -> Result<(), OperationError> {
self.reload()?;