fix(RemoteAuth): Return fake token

This commit is contained in:
March 7th
2022-08-20 20:27:34 +07:00
parent cbc3fbb7b8
commit 9ec9c77703
6 changed files with 65 additions and 158 deletions

View File

@@ -59,6 +59,7 @@ class CustomStatus {
* @returns {CustomStatus}
*/
setState(state) {
if (typeof state == 'string' && state.length > 128) throw new Error('State must be less than 128 characters');
this.state = state;
return this;
}