MCPcopy Index your code
hub / github.com/codecombat/codecombat / sendNoDeleteEUVerificationCode

Method sendNoDeleteEUVerificationCode

app/models/User.js:630–642  ·  view source on GitHub ↗
(code)

Source from the content-addressed store, hash-verified

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({

Callers 1

constructorMethod · 0.80

Calls 1

setMethod · 0.45

Tested by

no test coverage detected