From 52c2c6e59879f8a069c198117695b35b8066890c Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Tue, 17 Oct 2023 19:09:36 +0530 Subject: [PATCH] feat: bootstrap survey uploader's endpoints --- src/api/v1/survey.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api/v1/survey.rs b/src/api/v1/survey.rs index f381d769..bf16fe10 100644 --- a/src/api/v1/survey.rs +++ b/src/api/v1/survey.rs @@ -28,12 +28,14 @@ pub fn services(cfg: &mut ServiceConfig) { pub mod routes { pub struct Survey { pub download: &'static str, + pub secret: &'static str, } impl Survey { pub const fn new() -> Self { Self { download: "/api/v1/survey/{survey_id}/get", + secret: "/api/v1/survey/{survey_id}/secret", } }