[server] fix primary index creation for couchbase

This commit is contained in:
Lakhan Samani
2023-02-02 12:28:52 +05:30
parent a1df2ce31f
commit b7357dde21
4 changed files with 7 additions and 11 deletions

View File

@@ -4,7 +4,6 @@ import (
"crypto/aes"
"crypto/cipher"
"crypto/rand"
"fmt"
"io"
"github.com/authorizerdev/authorizer/server/constants"
@@ -57,7 +56,6 @@ func DecryptAES(text string) (string, error) {
func EncryptAESEnv(text []byte) ([]byte, error) {
var res []byte
k, err := memorystore.Provider.GetStringStoreEnvVariable(constants.EnvKeyEncryptionKey)
fmt.Println("=> key:", k)
if err != nil {
return res, err
}