Skip to content

Commit

Permalink
make function name consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
rekmarks committed May 15, 2020
1 parent e2e75ea commit 8b4df94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/scripts/controllers/permissions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ export class PermissionsController {
const newMetadataState = { ...oldMetadataState }

if (Object.keys(newMetadataState).length >= METADATA_STORE_MAX_SIZE) {
this._popMetadata(newMetadataState)
this._popDomainMetadata(newMetadataState)
}

newMetadataState[origin] = {
Expand All @@ -556,7 +556,7 @@ export class PermissionsController {
*
* @param {Object} metadataState - The metadata state to mutate.
*/
_popMetadata (metadataState) {
_popDomainMetadata (metadataState) {

const permissionsDomains = this.permissions.getDomains()

Expand Down

0 comments on commit 8b4df94

Please sign in to comment.