Skip to content

Commit

Permalink
Fixes #308: Adds formula to pages notUpdatableProps (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
tambait committed Dec 27, 2023
1 parent ae9dba6 commit a9d2e12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Pages/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Notion\Infrastructure\Http;
use Notion\Pages\Properties\CreatedBy;
use Notion\Pages\Properties\CreatedTime;
use Notion\Pages\Properties\Formula;
use Notion\Pages\Properties\LastEditedBy;
use Notion\Pages\Properties\LastEditedTime;
use Notion\Pages\Properties\PropertyInterface;
Expand Down Expand Up @@ -66,6 +67,7 @@ public function update(Page $page): Page
$notUpdatableProps = [
PropertyType::CreatedBy,
PropertyType::CreatedTime,
PropertyType::Formula,
PropertyType::LastEditedBy,
PropertyType::LastEditedTime,
PropertyType::Rollup,
Expand Down

0 comments on commit a9d2e12

Please sign in to comment.