Fixed a mistake
Merge pull request #3 from xtang/get-token-before-upload

Fixed a mistake