From 5d13b61fdfdf236a1c77f1052cf44c0390d2d575 Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Sat, 18 Nov 2023 17:56:03 +0200 Subject: [PATCH] change unsplash query --- src/api/unsplash.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/unsplash.ts b/src/api/unsplash.ts index d37e97c..57277c8 100644 --- a/src/api/unsplash.ts +++ b/src/api/unsplash.ts @@ -5,4 +5,4 @@ const UNSPLASH_ACCESS_KEY = import.meta.env.VITE_UNSPLASH_ACCESS_KEY; export const unsplashApi = createApi({ accessKey: UNSPLASH_ACCESS_KEY, fetch }); export const getRandomBackground = () => - unsplashApi.photos.getRandom({ count: 10, collectionIds: ['114728'] }); + unsplashApi.photos.getRandom({ count: 20, query: 'dark wallpaper' });