From e9441f8bb8ad31289283df09b032b09861bb4333 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 7 Sep 2021 22:32:05 -0500 Subject: add application lib --- src/web/src/lib/application.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/web/src/lib/application.js (limited to 'src/web') diff --git a/src/web/src/lib/application.js b/src/web/src/lib/application.js new file mode 100644 index 00000000..01425953 --- /dev/null +++ b/src/web/src/lib/application.js @@ -0,0 +1,5 @@ +import api from './api'; + +export const getState = async () => { + return (await api.get('/application')).data; +}; \ No newline at end of file -- cgit v1.2.3