mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
sync folders and ciphers. fix dates
This commit is contained in:
@@ -286,6 +286,11 @@ export class ApiService implements ApiServiceAbstraction {
|
||||
|
||||
// Folder APIs
|
||||
|
||||
async getFolder(id: string): Promise<FolderResponse> {
|
||||
const r = await this.send('GET', '/folders/' + id, null, true, true);
|
||||
return new FolderResponse(r);
|
||||
}
|
||||
|
||||
async postFolder(request: FolderRequest): Promise<FolderResponse> {
|
||||
const r = await this.send('POST', '/folders', request, true, true);
|
||||
return new FolderResponse(r);
|
||||
|
||||
Reference in New Issue
Block a user