Skip to content

Commit

Permalink
Merge pull request #38 from w6d-io/develop
Browse files Browse the repository at this point in the history
[FIX] try to fix 404 by changing the op
  • Loading branch information
nhaquet-w6d authored Nov 14, 2023
2 parents 146f0d1 + fa28efa commit e7eb178
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 e7eb178

Please sign in to comment.