Skip to content

Commit

Permalink
Merge pull request #6641 from AlphaWallet/fix-wrong-enjin-username-pa…
Browse files Browse the repository at this point in the history
…ssword-read

Format code
  • Loading branch information
hboon authored Apr 3, 2023
2 parents 0ef3f95 + fc3012c commit 2028235
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ extension OpenSea: NftAssetImageProvider {

extension Constants.Credentials {
static var enjinCredentials: EnjinCredentials? {
guard let email = Constants.Credentials.enjinUserName, let password = Constants.Credentials.enjinUserName else { return nil }
guard let email = Constants.Credentials.enjinUserName, let password = Constants.Credentials.enjinUserPassword else { return nil }
return (email: email, password: password)
}
}
Expand All @@ -52,15 +52,15 @@ public final class AlphaWalletNFTProvider: NFTProvider {
server: RPCServer,
config: Config,
storage: RealmStore) {

self.wallet = wallet
self.server = server
enjin = Enjin(
server: server,
storage: storage,
accessTokenStore: config,
credentials: Constants.Credentials.enjinCredentials)

openSea = OpenSea(
analytics: analytics,
server: server,
Expand Down

0 comments on commit 2028235

Please sign in to comment.