1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

[FLASK] Fix wrong action name for wallet_getSnaps hook (#16125)

This commit is contained in:
Frederik Bolding 2022-10-07 20:35:53 +02:00 committed by GitHub
parent 7279ea5b40
commit 7604009405
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3744,7 +3744,7 @@ export default class MetamaskController extends EventEmitter {
), ),
getSnaps: this.controllerMessenger.call.bind( getSnaps: this.controllerMessenger.call.bind(
this.controllerMessenger, this.controllerMessenger,
'SnapController:getPermittedSnaps', 'SnapController:getPermitted',
origin, origin,
), ),
requestPermissions: async (requestedPermissions) => { requestPermissions: async (requestedPermissions) => {