Skip to content

Commit

Permalink
[FIX] try to fix 404 by changing the op
Browse files Browse the repository at this point in the history
  • Loading branch information
nhaquet-w6d committed Nov 14, 2023
1 parent e1ae954 commit fa28efa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/controller/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ use kafka::{
use ory_kratos_client::models::Identity;
use serde_json::{json, Value};
use tonic::Request;
use tower::discover;
use tracing::{error, log::info};

use crate::{
Expand Down Expand Up @@ -209,7 +208,7 @@ async fn send_to_iam(
};
input.set_mode(mode);
let request = Request::new(input);
iam_client.replace_permission(request).await?;
iam_client.add_permission(request).await?;
Ok(())
}

Expand Down

0 comments on commit fa28efa

Please sign in to comment.