From 844c3e4a9ea06609dc9b3accd472640f07dcfb92 Mon Sep 17 00:00:00 2001 From: Pasha Date: Thu, 25 Apr 2024 22:00:28 +0300 Subject: [PATCH] [feat] Turn share to get --- bin/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/main.rs b/bin/main.rs index c883416..bfdbb48 100644 --- a/bin/main.rs +++ b/bin/main.rs @@ -150,7 +150,7 @@ async fn app() -> Result<(), Error> { .route("/tables/:table/import/", post(tables_import)) .route("/tables/:table/sync/", post(tables_sync)) .route("/tables/:table/", get(table_ls)) - .route("/tables/:table/share/:mode/", post(table_share)) + .route("/tables/:table/share/:mode/", get(table_share)) .route("/tables/:table/*key", get(table_get)) .route("/tables/:table/*key", put(table_insert)) .route("/tables/:table/*key", delete(table_delete))