getOrgThumbnailUrl

Function

Construct a the full url to a portal thumbnail

  • If the portal has a thumbnail, construct the full url
  • If the portal is not public, append on the token
  • getOrgThumbnailUrl(portal: IPortal, token: string) : string

Parameters

Parameter Type Default Notes
portal Required IPortal
token Optional string

Returns

string

Function defined in common/src/resources/get-org-thumbnail-url.ts:13