1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

org import and collection encrypt function

This commit is contained in:
Kyle Spearrin
2018-07-05 23:38:27 -04:00
parent ed93fa9ea3
commit a600c4a539
5 changed files with 23 additions and 6 deletions

View File

@@ -318,8 +318,8 @@ export class ApiService implements ApiServiceAbstraction {
return this.send('POST', '/ciphers/import', request, true, false);
}
postImportOrganizationCiphers(request: ImportOrganizationCiphersRequest): Promise<any> {
return this.send('POST', '/ciphers/import-organization', request, true, false);
postImportOrganizationCiphers(organizationId: string, request: ImportOrganizationCiphersRequest): Promise<any> {
return this.send('POST', '/ciphers/import-organization?organizationId=' + organizationId, request, true, false);
}
// Attachments APIs