Rename modify operations to update
This commit is contained in:
parent
4223650472
commit
33401948e5
|
@ -160,7 +160,7 @@ declare namespace GQL {
|
|||
updateEvent: ICalendarEvent | null;
|
||||
deleteEvent: IUser;
|
||||
createEventTag: IEventTag | null;
|
||||
modifyEventTag: IEventTag | null;
|
||||
updateEventTag: IEventTag | null;
|
||||
}
|
||||
|
||||
interface ISignupOnMutationArguments {
|
||||
|
|
|
@ -34,7 +34,7 @@ export const tagResolvers: ResolverMap = {
|
|||
tag.translations = Promise.resolve(translations)
|
||||
return tag.save()
|
||||
},
|
||||
modifyEventTag: async (
|
||||
updateEventTag: async (
|
||||
_,
|
||||
req: GQL.IModifyEventTagOnMutationArguments,
|
||||
context: Context
|
||||
|
|
|
@ -207,7 +207,7 @@ type Mutation {
|
|||
|
||||
# Tags
|
||||
createEventTag(input: CreateEventTagInput!): EventTag
|
||||
modifyEventTag(input: ModifyEventTagInput!): EventTag
|
||||
updateEventTag(input: ModifyEventTagInput!): EventTag
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue