Add missing await for API request (#27676)
`getAllPostsWithSlug` was missing an `await` on `fetchAPI`, resulting in `data?.allPosts` always returning `undefined`. This meant SSG wasn't aware of the paths it needed to generate.
Showing
Please
register
or
sign in
to comment