Skip to content

Commit

Permalink
Yes this is really the issue ;)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanyoung-dev committed Feb 13, 2024
1 parent c6cc498 commit fbd0558
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/GraphQL/Queries/Prompts.gql
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ query GetAllPromptsQuery {
}

query GetPromptsByThemeAndPersonaQuery($themeId: ID!, $personaId: ID!) {
allPrompt(where: { AND: [{ theme: { prompt_ids: $themeId } }, { persona: { prompt_ids: $personaId } }] }) {
allPrompt(
first: 1000
where: { AND: [{ theme: { prompt_ids: $themeId } }, { persona: { prompt_ids: $personaId } }] }
) {
results {
...PromptDetails
}
Expand Down

0 comments on commit fbd0558

Please sign in to comment.