mirror of
https://github.com/mue/mue.git
synced 2026-07-15 21:13:54 +02:00
fix: remove trailing comma in fetch URL for Unsplash API
This commit is contained in:
@@ -55,7 +55,7 @@ export async function fetchFromUnsplash(packId, settings) {
|
||||
|
||||
try {
|
||||
// Use Mue API proxy which has the Unsplash token server-side
|
||||
const response = await fetch(`${variables.constants.API_URL}/images/unsplash?${params}`,);
|
||||
const response = await fetch(`${variables.constants.API_URL}/images/unsplash?${params}`);
|
||||
|
||||
if (!response.ok) {
|
||||
if (response.status === 429) {
|
||||
|
||||
Reference in New Issue
Block a user