pl-fe: drive: allow creating folders
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@@ -5906,7 +5906,7 @@ class PlApiClient {
|
||||
|
||||
const response = await this.request('/api/iceshrimp/drive/folder', {
|
||||
method: 'POST',
|
||||
body: { name, parentId },
|
||||
body: { name, parentId: parentId || null },
|
||||
});
|
||||
|
||||
return v.parse(driveFolderSchema, response.json);
|
||||
|
||||
Reference in New Issue
Block a user