Skip to content

Commit 552b4ab

Browse files
refactor: fix build issues
1 parent ea09c54 commit 552b4ab

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

backend/src/handler.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,14 @@ mod tests {
171171
};
172172

173173
// call handler
174-
let res = auth_handler(State(api_config), Query(redirect), Json(auth_code_response)).await;
174+
let res = auth_handler(
175+
State(api_config),
176+
Query(AuthRequestUrlParams {
177+
redirect_uri: Url::parse(&redirect).unwrap(),
178+
}),
179+
Json(auth_code_response),
180+
)
181+
.await;
175182

176183
assert!(res.is_ok(), "expected Ok(UserSession) from auth_handler");
177184
}

frontend/angular.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@
3131
"input": "public"
3232
}
3333
],
34-
"styles": ["src/styles.scss"]
34+
"styles": ["src/styles.scss"],
35+
"loader": {
36+
".woff": "file",
37+
".woff2": "file"
38+
}
3539
},
3640
"configurations": {
3741
"production": {

0 commit comments

Comments
 (0)