Skip to content

Commit

Permalink
fix binding
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwinOtten committed Nov 2, 2024
1 parent e9cb4d1 commit 5500082
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ A node module that converts Sportlink exports (.csv) into a csv you can import i
4. Using in a browser:
```html
<script src="https://cdn.jsdelivr.net/npm/sportlink-to-mailchimp-converter/dist/sportlink-to-mailchimp-converter.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sportlink-to-mailchimp-converter/sportlink-to-mailchimp-converter.umd.js"></script>
<script>
const converter = new SportlinkToMailchimpConverter({
const converter = new SportlinkToMailchimpConverter.SportlinkToMailchimpConverter({
nonAthleticsMembershipTypes: ['Gastlid', 'Recreanten', 'Overigen'],
athleticsMembershipTypes: ['Atletiek']
});
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sportlink-to-mailchimp-converter",
"version": "0.2.1",
"version": "0.2.2",
"description": "A node module that converts Sportlink exports (.csv) into a csv you can import into Mailchimp.",
"main": "dist/sportlink-to-mailchimp-converter.umd.js",
"types": "dist/sportlink-to-mailchimp-converter.umd.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/sportlink-to-mailchimp-converter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class SportlinkToMailchimpConverter {
return sportlinkContactsToMailchimpSubscribers(
rows
.filter(row => !isNullOrEmpty(row['E-mail']))
.map((row) => sportlinkRowToContact(row, this.config))
.map((row) => sportlinkRowToContact.call(this, row, this.config))
)
}
}
Expand Down

0 comments on commit 5500082

Please sign in to comment.