Skip to content

Commit

Permalink
fix: hashmap inserts
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaro00 committed Apr 2, 2024
1 parent cbc3238 commit 37728cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ async fn sync_permit_projects(db: SqlitePool, args: SyncArgs) {
);

let projects: Vec<(String, String)> =
sqlx::query_as("SELECT user_id, project_id FROM projects GROUP BY user_id")
sqlx::query_as("SELECT user_id, project_id FROM projects")
.fetch_all(&db)
.await
.unwrap();
Expand Down

0 comments on commit 37728cd

Please sign in to comment.