Skip to content

Commit

Permalink
Merge pull request #34 from reactioncommerce/bugfix/edges
Browse files Browse the repository at this point in the history
Bugfix/edges
  • Loading branch information
delagroove authored Sep 16, 2021
2 parents 824d22d + f6e5927 commit dda94a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
6 changes: 0 additions & 6 deletions src/resolvers/Template/index.js

This file was deleted.

4 changes: 2 additions & 2 deletions src/resolvers/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import getConnectionTypeResolvers from "@reactioncommerce/api-utils/graphql/getConnectionTypeResolvers.js";
import Query from "./Query/index.js";
import Mutation from "./Mutation/index.js";
import Template from "./Template/index.js";

export default {
Query,
Mutation,
Template
...getConnectionTypeResolvers("Template")
};
1 change: 1 addition & 0 deletions src/startup.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export default async function emailTemplatesStartup(context) {

await seedEmailTemplatesForShop(context, shop._id);
});

// Update templates if they don't already exist.
const primaryShopId = await context.queries.primaryShopId(context.getInternalContext());
if (primaryShopId) {
Expand Down

0 comments on commit dda94a4

Please sign in to comment.