Hi sorry for creating one more post, got awesome h...
# help
d
Hi sorry for creating one more post, got awesome help but i struggle a bit with a thing.
Copy code
export async function getStaticProps() {
  const { data, error } = await supabaseAdmin.storage
    .from("gallery")
    .list("categories/sport", {
      limit: 100,
      offset: 0,
    });
  return {
    props: {
      images: data,
    },
  };
}
in this code in sport folder i have two sub folders, football and golf with images in those subfolder. how could I retrive all the images from each subfolder into categories/sport? so when i go to sport i want to retrive all the images from sports subfolders images if you understand me! 😄
n
Hello @Dembe! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.