Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/stepper #40

Merged
merged 13 commits into from
Oct 25, 2023
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const path = require('path');
const connectMultiparty = require('connect-multiparty');
const fields = require('./lib/fields');
const recaptcha = require('./lib/recaptcha');
const process = require('./lib/process');
const processor = require('./lib/process');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rename the file too, just for consistency, sorry 🙏


module.exports = {
extend: '@apostrophecms/piece-type',
Expand Down Expand Up @@ -78,7 +78,7 @@ module.exports = {
methods (self) {
return {
...recaptcha(self),
...process(self),
...processor(self),
async ensureCollection () {
self.db = self.apos.db.collection('aposFormSubmissions');
await self.db.ensureIndex({
Expand Down