summaryrefslogtreecommitdiff
path: root/frontend/src/api/routes/sections.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/api/routes/sections.js')
-rw-r--r--frontend/src/api/routes/sections.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontend/src/api/routes/sections.js b/frontend/src/api/routes/sections.js
new file mode 100644
index 00000000..5e1a077d
--- /dev/null
+++ b/frontend/src/api/routes/sections.js
@@ -0,0 +1,5 @@
+import { getById } from "./util";
+
+export function getSection(sectionId) {
+ return getById("/sections/{sectionId}", { sectionId });
+}