Skip to content

Commit

Permalink
Fix left over mysql stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
smrtrfszm committed Nov 26, 2024
1 parent 240f5cb commit 3522a45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmds/src/create_admin_user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async fn main() {

let email = args().nth(1).expect("no email given");
let iam = Iam::new(&env::var("IAM_URL").expect("IAM_URL is not set"));
let database = Database::connect("mysql://iam:secret@localhost:3306/iam").await;
let database = Database::connect("postgres://iam:secret@localhost:3306/iam").await;

let id = 'id: {
if let Ok(user) = User::login(&iam, &email, "test").await {
Expand Down
2 changes: 1 addition & 1 deletion cmds/src/create_iam_app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ async fn main() {
dotenv().ok();

let name = args().nth(1).expect("no name given");
let database = Database::connect("mysql://iam:secret@localhost:3306/iam").await;
let database = Database::connect("postgres://iam:secret@localhost:3306/iam").await;

let (id, secret) = create_app(&database, &name).await;

Expand Down

0 comments on commit 3522a45

Please sign in to comment.