fix displaying error message for the case the group is not found

This commit is contained in:
Daniel Waxweiler 2022-05-19 08:08:21 +02:00
parent 367a1c97b2
commit c51610b054
2 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@
#### Deprecated
#### Removed
#### Fixed
- Fix displaying error message for the case the group is not found
#### Security
### [0.8.0] - 2022-01-09

View File

@ -37,7 +37,7 @@ export function getUpcomingEvents({ url, limit }) {
export function getUpcomingEventsByGroupName({ url, limit, groupName }) {
const query = `
query ($afterDatetime: DateTime, $groupName: String, $limit: Int) {
query ($afterDatetime: DateTime, $groupName: String!, $limit: Int) {
group(preferredUsername: $groupName) {
organizedEvents(afterDatetime: $afterDatetime, limit: $limit) {
elements {