Shared helper to strip encrypted credential values from a project before sending it to the client. Used by both project routes and the recycle-bin routes.
- Source:
Methods
(static) sanitiseProjectForClient(project) → {Object}
Strip encrypted credential values from a project before sending to the client. Only returns whether auth is configured, not the actual secrets.
Parameters:
| Name | Type | Description |
|---|---|---|
project |
Object |
- Source:
Returns:
- Type
- Object