MCPcopy Create free account
hub / github.com/codecombat/codecombat / getPhotoURL

Method getPhotoURL

app/models/User.js:212–215  ·  view source on GitHub ↗
(size = 80)

Source from the content-addressed store, hash-verified

210 addressesIncludeAdministrativeRegion (defaultIfUnknown = true) { if (!this.get('country')) { return defaultIfUnknown } else { return utils.addressesIncludeAdministrativeRegion(this.get('country')) } }
211
212 getPhotoURL (size = 80) {
213 if (application.testing) { return '' }
214 return `/db/user/${this.id}/avatar?s=${size}`
215 }
216
217 getRequestVerificationEmailURL () {
218 return this.url() + '/request-verify-email'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected