Updated Unsplash Access Key ENV Name

This commit is contained in:
Ahmad 2024-02-17 14:58:23 -05:00
parent 6df8dc301e
commit d99f17c9d1
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF

View file

@ -1,6 +1,6 @@
import { createApi } from 'unsplash-js';
export const unsplash = createApi({
accessKey: process.env.NEXT_PUBLIC_UNSPLASH_ACCESS_KEY!,
accessKey: process.env.UNSPLASH_ACCESS_KEY!,
fetch: fetch,
});