From 758161411dbeb07b80870fba16c3871494f2f128 Mon Sep 17 00:00:00 2001 From: Jono Wenger <jono@elixxir.io> Date: Fri, 21 Oct 2022 19:12:52 -0700 Subject: [PATCH] Fix changes from merge --- indexedDb/init.go | 4 ++-- {utils => storage}/indexedDbEncryptionTrack.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename {utils => storage}/indexedDbEncryptionTrack.go (98%) diff --git a/indexedDb/init.go b/indexedDb/init.go index 057f97f1..b9a9d61b 100644 --- a/indexedDb/init.go +++ b/indexedDb/init.go @@ -12,7 +12,7 @@ package indexedDb import ( "github.com/pkg/errors" cryptoChannel "gitlab.com/elixxir/crypto/channel" - "gitlab.com/elixxir/xxdk-wasm/utils" + "gitlab.com/elixxir/xxdk-wasm/storage" "syscall/js" "github.com/hack-pad/go-indexeddb/idb" @@ -92,7 +92,7 @@ func newWASMModel(databaseName string, encryption cryptoChannel.Cipher, db, err := openRequest.Await(ctx) encryptionStatus := encryption != nil - loadedEncryptionStatus, err := utils.StoreIndexedDbEncryptionStatus( + loadedEncryptionStatus, err := storage.StoreIndexedDbEncryptionStatus( databaseName, encryptionStatus) if err != nil { return nil, err diff --git a/utils/indexedDbEncryptionTrack.go b/storage/indexedDbEncryptionTrack.go similarity index 98% rename from utils/indexedDbEncryptionTrack.go rename to storage/indexedDbEncryptionTrack.go index 93db8388..757a7483 100644 --- a/utils/indexedDbEncryptionTrack.go +++ b/storage/indexedDbEncryptionTrack.go @@ -5,7 +5,7 @@ // LICENSE file. // //////////////////////////////////////////////////////////////////////////////// -package utils +package storage import ( "github.com/pkg/errors" -- GitLab