parent
7b00b19fce
commit
34c852b12a
|
@ -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…
Reference in New Issue