Renamed function

Name was `assign` in the `revoke.js` file…looks like a copy-paste error…