Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lassemand committed Sep 27, 2024
1 parent 674e46c commit 1761e22
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions notification-server/src/bin/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use axum::{
extract::{Json, State},
http::StatusCode,
response::IntoResponse,
routing::{get, put},
routing::{get, post, put},
Router,
};
use axum_prometheus::{
Expand All @@ -22,10 +22,9 @@ use notification_server::{
google_cloud::{GoogleCloud, NotificationError},
models::device::{DeviceSubscription, Preference},
};
use serde::{Deserialize};
use serde::Deserialize;
use serde_json::json;
use std::{collections::HashSet, path::PathBuf, str::FromStr, sync::Arc, time::Duration};
use axum::routing::post;
use tokio_postgres::Config;
use tracing::{error, info};

Expand Down Expand Up @@ -306,7 +305,7 @@ async fn upsert_account_device(
info!("Invalid request: {}", message);
}
(status_code, Json(provide_error_message(message)))
},
}
}
}

Expand Down

0 comments on commit 1761e22

Please sign in to comment.