From 480d8f2289dcc574388770cfc2f2299f2e4102c1 Mon Sep 17 00:00:00 2001 From: Lasse Alm Date: Mon, 24 Jun 2024 11:09:26 +0200 Subject: [PATCH] change again --- notification-server/src/bin/api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notification-server/src/bin/api.rs b/notification-server/src/bin/api.rs index 3b07d532..b97279de 100644 --- a/notification-server/src/bin/api.rs +++ b/notification-server/src/bin/api.rs @@ -59,7 +59,7 @@ async fn main() -> anyhow::Result<()> { // TODO add authentication middleware let app = Router::new() .route( - "/api/v1/device/:device/subscribe", + "/api/v1/device/:device/subscription", put(upsert_account_device), ) .with_state(app_state);