diff options
Diffstat (limited to 'src/api/e621')
-rw-r--r-- | src/api/e621/index.ts | 2 |
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 | } |