ooth
ooth copied to clipboard
Ooth Client headers
I was receiving an error on authentication when calling ooth.method().
Debuging code I found https://github.com/nmaro/ooth/blob/c4d12242ef9fbb2fbbc63140a3feffdc5d64b2c7/packages/ooth-client/src/index.ts#L133
and I think it should be
actualHeaders.Authorization = `JWT ${this.token}`;