(code)
| 628 | } |
| 629 | |
| 630 | sendNoDeleteEUVerificationCode (code) { |
| 631 | return $.ajax({ |
| 632 | method: 'POST', |
| 633 | url: `/db/user/${this.id}/no-delete-eu/${code}`, |
| 634 | success: attributes => { |
| 635 | this.set(attributes) |
| 636 | return this.trigger('user-no-delete-eu-success') |
| 637 | }, |
| 638 | error: () => { |
| 639 | return this.trigger('user-no-delete-eu-error') |
| 640 | }, |
| 641 | }) |
| 642 | } |
| 643 | |
| 644 | trackActivity (activityName, increment = 1) { |
| 645 | return $.ajax({ |