aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-09-27 15:12:15 -0500
committerJP Dillingham <jp@dillingham.me>2026-09-27 15:12:15 -0500
commit7ce8b280b9d0f82e326ca0fe536716b657b2e68a (patch)
tree3a519820c68275ab4761979143d68dc7acbfff71 /src
parentedf1ee43c596a7986700cd14db17c9b8fe7d19ca (diff)
downloadslskd-7ce8b280b9d0f82e326ca0fe536716b657b2e68a.tar.gz
make text-returning function more obvious
Diffstat (limited to 'src')
-rw-r--r--src/web/src/lib/logs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/src/lib/logs.js b/src/web/src/lib/logs.js
index 9b742c2d..35ae5d84 100644
--- a/src/web/src/lib/logs.js
+++ b/src/web/src/lib/logs.js
@@ -6,7 +6,7 @@ export const list = async () => {
return response;
};
-export const getFile = async ({ filename }) => {
+export const getFileText = async ({ filename }) => {
const response = (
await api.get(`/logs/files/${encodeURIComponent(filename)}`, {
responseType: 'text',