summaryrefslogtreecommitdiffstats
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-rw-r--r--src/api/e621/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/e621/index.ts b/src/api/e621/index.ts
index 4748e87..c8e0f44 100644
--- a/src/api/e621/index.ts
+++ b/src/api/e621/index.ts
@@ -48,5 +48,5 @@ export async function randomPost() {
48 const postIndex = Math.floor(Math.random() * response.posts.length); 48 const postIndex = Math.floor(Math.random() * response.posts.length);
49 const post = response.posts[postIndex]; 49 const post = response.posts[postIndex];
50 50
51 return post; 51 return { queryIndex, post };
52} 52}