Skip to content

Commit

Permalink
feat: updates task ids
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushtom committed May 3, 2024
1 parent 5c7502a commit 7d51971
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/endpoints/quests/haiko/verify_deposit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub async fn handler(
State(state): State<Arc<AppState>>,
Query(query): Query<VerifyQuery>,
) -> impl IntoResponse {
let task_id = 143;
let task_id = 142;
let addr = &query.addr;

let url = format!(
Expand Down
2 changes: 1 addition & 1 deletion src/endpoints/quests/haiko/verify_twitter_rw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub async fn handler(
State(state): State<Arc<AppState>>,
Query(query): Query<VerifyQuery>,
) -> impl IntoResponse {
let task_id = 144;
let task_id = 143;
match state.upsert_completed_task(query.addr, task_id).await {
Ok(_) => (StatusCode::OK, Json(json!({"res": true}))).into_response(),
Err(e) => get_error(format!("{}", e)),
Expand Down

0 comments on commit 7d51971

Please sign in to comment.