Skip to content

Commit 1e259ff

Browse files
authored
Merge pull request #96 from Gummibeer/patch-1
add relation property mapping
2 parents 4f75db6 + 78a4ea3 commit 1e259ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Entities/Properties/Property.php

+1
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)