mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
oauth2 typo (#2290)
This commit is contained in:
parent
f17bc6156c
commit
b9d47fe8f7
|
@ -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))?;
|
||||
|
|
|
@ -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()?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue