fix displaying error message for the case the group is not found
This commit is contained in:
parent
367a1c97b2
commit
c51610b054
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue