Skip to content

Commit

Permalink
Use string format instead of object
Browse files Browse the repository at this point in the history
aaroncox committed Aug 22, 2018
1 parent 9d26c95 commit 5e992f2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/shared/reducers/connection.js
Original file line number Diff line number Diff line change
@@ -95,10 +95,7 @@ function getAuthorization(account, pubkey) {
find(perm.required_auth.keys, (key) => key.key === pubkey));
if (permission) {
// Return an authorization for this key
return {
actor: account.account_name,
permission: permission.perm_name
};
return `${account.account_name}@${permission.perm_name}`;
}
}
return undefined;

0 comments on commit 5e992f2

Please sign in to comment.