Update schema naming for sendgrid mutations

This commit is contained in:
Barry Low committed 2018-11-09 04:05:13 -08:00
1 parent 08384c6d39
commit 94e8646a91
2 files changed
+8 -8

No files matched your search

+5 -5
View File
@@ -10,12 +10,12 @@ if (dev){
}
export default {
async sgSendNewsletterVerify(parent, { email }, ctx, info){
async sendgrid_NewsletterSignup(parent, { token }, ctx, info) {
},
async sendgrid_NewsletterSignupVerify(parent, { email }, ctx, info){
},
async sgNewsletterSignup(parent, { token }, ctx, info) {
},
async sgContact(parent, { email, subject, message }, ctx, info) {
async sendgrid_Contact(parent, { email, subject, message }, ctx, info) {
},
}
+3 -3
View File
@@ -1,8 +1,8 @@
export const typeDef = `
type Mutation {
sgSendNewsletterVerify(email: String!): String
sgNewsletterSignup(email: String!): String
sgContact(email: String!, subject: String!, Message: String!): String
sendgrid_NewsletterSignup(email: String!): String
sendgrid_NewsletterSignupVerify(email: String!): String
sendgrid_Contact(email: String!, subject: String!, Message: String!): String
}
schema {