Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 78a4ea3

Browse files
add relation property mapping
1 parent 4f75db6 commit 78a4ea3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/Entities/Properties/Property.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ private static function mapTypeToClass(string $type): string
177177
case 'files':
178178
case 'formula':
179179
case 'rollup':
180+
case 'relation':
180181
$class = str_replace('_', '', ucwords($type, '_'));
181182

182183
return 'FiveamCode\\LaravelNotionApi\\Entities\\Properties\\'.$class;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /