Skip to main content

stripSystemFields

Upgather SDK


Upgather SDK / stripSystemFields

Function: stripSystemFields()

stripSystemFields(record): Record<string, unknown>

Defined in: lib/services/StrapiService.ts:51

Strip Strapi system fields from a record before sending it in a PUT body.

Parameters

record

Record<string, unknown>

The record to strip system fields from.

Returns

Record<string, unknown>

A new object without system fields.