Alpha Release 0.3.0 #122
@ -83,7 +83,7 @@ export class RunnerSelfServiceController {
|
||||
* @param token The organisation's registration api token.
|
||||
*/
|
||||
private async getOrgansisation(token: string): Promise<RunnerGroup> {
|
||||
token = Buffer.from(token, 'base64').toString();
|
||||
token = Buffer.from(token, 'base64').toString('utf8');
|
||||
|
||||
const organisation = await this.orgRepository.findOne({ key: token });
|
||||
if (!organisation) { throw new RunnerOrganisationNotFoundError; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user