aboutsummaryrefslogtreecommitdiff
path: root/src/utils/weather.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/weather.rs')
-rw-r--r--src/utils/weather.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/weather.rs b/src/utils/weather.rs
index 11e446f..10c887c 100644
--- a/src/utils/weather.rs
+++ b/src/utils/weather.rs
@@ -2,7 +2,7 @@ use crate::config::CONFIG;
use crate::types::ThreadsData;
// will make a GET request from wttr.in
-pub fn get_weather() -> ThreadsData {
+pub async fn get_weather() -> ThreadsData {
let format = if CONFIG.weather.format.is_empty() {
String::from("%l:+%t")
} else {