Skip to content

Commit

Permalink
Merge pull request #294 from stakwork/update/remove-comment
Browse files Browse the repository at this point in the history
update: remove unused code
  • Loading branch information
tobi-bams authored Sep 9, 2024
2 parents 6fe7cec + f8ed89e commit 8927b0e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/defaults.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,15 +257,6 @@ pub fn create_super_user() -> User {
Ok(res) => {
if res.status().clone() != 201 {
log::error!("Response code: {:?}", res.status().clone());
// log::error!("Response: {:?}", res);
// match res.json::<Value>().await {
// Ok(data) => {
// log::error!("{:?}", data)
// }
// Err(err) => {
// log::error!("Error parsing JSON response: {:?}", err);
// }
// }
match res.text().await {
Ok(data) => {
log::error!("{:?}", data)
Expand Down

0 comments on commit 8927b0e

Please sign in to comment.