putCinematic = ({ data }, options = {}) => {
  if (!data) {
    throw new Error('Please pass in a data property.')
  }
  const slugOrId = data.id || data.slug
  if (!slugOrId) {
    throw new Error('You must pass either a slug or ObjectId')
  }
  return fetchJson(`/db/cinematic/${slugOrId}`, _.assign({}, options, {
    method: 'PUT',
    json: data
  }))
}
Updates a cinematic in the database.
@async
@returns {Promise<import('../../../app/schemas/models/selectors/cinematic').Cinematic>} raw Cinematic object