1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-04 09:32:48 -05:00

events has its own connection string

This commit is contained in:
Kyle Spearrin
2017-12-27 22:39:14 -05:00
parent 9a4e0e8b08
commit 8a318f35b7
10 changed files with 20 additions and 4 deletions

View File

@ -22,7 +22,7 @@ namespace Bit.Core.Services
IEventRepository eventRepository,
GlobalSettings globalSettings)
{
var storageAccount = CloudStorageAccount.Parse(globalSettings.Storage.ConnectionString);
var storageAccount = CloudStorageAccount.Parse(globalSettings.Events.ConnectionString);
var queueClient = storageAccount.CreateCloudQueueClient();
_queue = queueClient.GetQueueReference("event");