add missing await in readme (#113)

This commit is contained in:
Johannes Filter 2018-03-08 00:21:39 +01:00 committed by Vojtech Novak
parent 3c54d65441
commit 43b1f870f0

View File

@ -28,7 +28,7 @@ async () => {
try {
// Retreive the credentials
const credentials = Keychain.getGenericPassword();
const credentials = await Keychain.getGenericPassword();
if (credentials) {
console.log('Credentials successfully loaded for user ' + credentials.username);
} else {