Alpha Release 0.3.0 #122

Merged
niggl merged 42 commits from dev into main 2021-01-24 17:57:38 +00:00
Showing only changes of commit 34c852b12a - Show all commits

View File

@ -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; }