Lox.generateInvite does not convert JSON object to string
In Lox.generateInvite there are two calls that use response, but I think it is a JSON object, but #changeCredentials and prepare_invite both expect a stringified version of the JSON.
In Lox.generateInvite there are two calls that use response, but I think it is a JSON object, but #changeCredentials and prepare_invite both expect a stringified version of the JSON.