Update schema naming for sendgrid mutations
This commit is contained in:
1 parent
08384c6d39
commit
94e8646a91
2 files changed
+8
-8
No files matched your search
@@ -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) {
|
||||
},
|
||||
}
|
||||
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user