1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-07 19:05:07 -05:00

added push events and moved cipher writing to cipher service.

This commit is contained in:
Kyle Spearrin
2016-06-29 01:15:37 -04:00
parent afa37f5ab1
commit ef0a808687
8 changed files with 120 additions and 17 deletions

View File

@ -81,7 +81,7 @@ namespace Bit.Api.Controllers
cipher.Favorite = !cipher.Favorite;
await _cipherRepository.ReplaceAsync(cipher);
await _cipherService.SaveAsync(cipher);
}
[HttpDelete("{id}")]
@ -93,7 +93,7 @@ namespace Bit.Api.Controllers
throw new NotFoundException();
}
await _cipherRepository.DeleteAsync(cipher);
await _cipherService.DeleteAsync(cipher);
}
}
}