Skip to content

Commit

Permalink
Merge pull request #282 from lfglabs-dev/feat/improve-custom-api-erro…
Browse files Browse the repository at this point in the history
…r-message

feat: improve custom api error message
  • Loading branch information
Th0rgal authored Oct 20, 2024
2 parents b5900e5 + ebe25e1 commit ea86308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/endpoints/quests/verify_custom_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub async fn handler(
Err(e) => get_error(format!("{}", e)),
}
} else {
get_error("Response did not match the required pattern.".to_string())
get_error("User not eligible.".to_string())
}
}
Err(e) => get_error(format!("Failed to fetch API: {}", e)),
Expand Down

0 comments on commit ea86308

Please sign in to comment.