Skip to content

Commit cafac36

Browse files
committed
Allow type community and shared for image
1 parent 64f4ac7 commit cafac36

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Images/v2/Params.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function visibility(): array
2424
'location' => self::JSON,
2525
'type' => self::STRING_TYPE,
2626
'description' => 'Image visibility. Public or private. Default is public.',
27-
'enum' => ['private', 'public'],
27+
'enum' => ['private', 'public', 'community', 'shared'],
2828
];
2929
}
3030

@@ -196,10 +196,10 @@ public function data(): array
196196
public function memberId(): array
197197
{
198198
return [
199-
'location' => self::JSON,
200-
'sentAs' => 'member',
201-
'type' => self::STRING_TYPE,
202-
'documeted' => false,
199+
'location' => self::JSON,
200+
'sentAs' => 'member',
201+
'type' => self::STRING_TYPE,
202+
'documented' => false,
203203
];
204204
}
205205

0 commit comments

Comments
 (0)