From 8544feb5d47df2399d07f69c56bb226ce923849a Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 17 Oct 2021 20:12:47 +0200 Subject: Added query to exclude dragons --- src/api/e621/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api') 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() { const postIndex = Math.floor(Math.random() * response.posts.length); const post = response.posts[postIndex]; - return post; + return { queryIndex, post }; } -- cgit v1.2.3-70-g09d2