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
|
#### Deprecated
|
||||||
#### Removed
|
#### Removed
|
||||||
#### Fixed
|
#### Fixed
|
||||||
|
- Fix displaying error message for the case the group is not found
|
||||||
#### Security
|
#### Security
|
||||||
|
|
||||||
### [0.8.0] - 2022-01-09
|
### [0.8.0] - 2022-01-09
|
||||||
|
|
|
@ -37,7 +37,7 @@ export function getUpcomingEvents({ url, limit }) {
|
||||||
|
|
||||||
export function getUpcomingEventsByGroupName({ url, limit, groupName }) {
|
export function getUpcomingEventsByGroupName({ url, limit, groupName }) {
|
||||||
const query = `
|
const query = `
|
||||||
query ($afterDatetime: DateTime, $groupName: String, $limit: Int) {
|
query ($afterDatetime: DateTime, $groupName: String!, $limit: Int) {
|
||||||
group(preferredUsername: $groupName) {
|
group(preferredUsername: $groupName) {
|
||||||
organizedEvents(afterDatetime: $afterDatetime, limit: $limit) {
|
organizedEvents(afterDatetime: $afterDatetime, limit: $limit) {
|
||||||
elements {
|
elements {
|
||||||
|
|
Loading…
Reference in New Issue