fix: console build (#194)

* grpc gen, headers

* add auth headers

* resolve build errors

* lint

* project grant changes

* project detail

* owned projects

* fix undefined
This commit is contained in:
Max Peintner
2020-06-09 17:12:35 +02:00
committed by GitHub
parent 25b97b1bcc
commit ef9b03cc84
34 changed files with 8916 additions and 3729 deletions
+1 -13
View File
@@ -12,7 +12,6 @@ import {
MyProjectOrgSearchRequest,
MyProjectOrgSearchResponse,
PasswordChange,
PasswordRequest,
UpdateUserAddressRequest,
UpdateUserEmailRequest,
UpdateUserPhoneRequest,
@@ -196,17 +195,6 @@ export class AuthUserService {
);
}
public async SetMyPassword(id: string): Promise<Empty> {
const req = new PasswordRequest();
req.setPassword(id);
return await this.request(
c => c.setMyPassword,
req,
f => f,
);
}
public async ChangeMyPassword(oldPassword: string, newPassword: string): Promise<Empty> {
const req = new PasswordChange();
req.setOldPassword(oldPassword);
@@ -234,7 +222,7 @@ export class AuthUserService {
);
}
public async VerifyMfaOTP(code: string): Promise<MfaOtpResponse> {
public async VerifyMfaOTP(code: string): Promise<Empty> {
const req = new VerifyMfaOtp();
req.setCode(code);
return await this.request(