Fixed some things

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2018-11-07 16:09:28 +01:00
parent 74bc21fa2c
commit 0585b9e6d5
7 changed files with 43 additions and 20 deletions

View File

@@ -88,9 +88,17 @@ export const CREATE_EVENT = gql`
$categoryId: Int!,
$beginsOn: DateTime!,
$addressType: AddressType!,
) {
createEvent(title: $title, description: $description, beginsOn: $beginsOn, organizerActorId: $organizerActorId, categoryId: $categoryId, addressType: $addressType) {
uuid
) {
createEvent(
title: $title,
description: $description,
beginsOn: $beginsOn,
organizerActorId: $organizerActorId,
categoryId: $categoryId,
addressType: $addressType) {
uuid,
title,
description,
}
}
`;

View File

@@ -9,6 +9,8 @@ query SearchEvents($searchText: String!) {
__typename
},
...on Actor {
avatarUrl,
domain,
preferredUsername,
__typename
}