Skip to content

Commit

Permalink
pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
rodolfomiranda committed Apr 18, 2024
1 parent f742ec2 commit c67f41b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/keri/app/coring.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ export class Oobis {
* @returns {Promise<any>} A promise to the OOBI(s)
*/
async get(name: string, role: string = 'agent'): Promise<any> {
const path = `/identifiers/${encodeURIComponent(name)}/oobis?role=${role}`;
const path = `/identifiers/${encodeURIComponent(
name
)}/oobis?role=${role}`;
const method = 'GET';
const res = await this.client.fetch(path, method, null);
return await res.json();
Expand Down
8 changes: 6 additions & 2 deletions src/keri/app/credentialing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,9 @@ export class Credentials {
[keeper.algo]: keeper.params(),
};

const path = `/identifiers/${encodeURIComponent(name)}/credentials/${said}`;
const path = `/identifiers/${encodeURIComponent(
name
)}/credentials/${said}`;
const method = 'DELETE';
const headers = new Headers({
Accept: 'application/json+cesr',
Expand Down Expand Up @@ -423,7 +425,9 @@ export class Credentials {
include: include,
};

const path = `/identifiers/${encodeURIComponent(name)}/credentials/${said}/presentations`;
const path = `/identifiers/${encodeURIComponent(
name
)}/credentials/${said}/presentations`;
const method = 'POST';
const headers = new Headers({
Accept: 'application/json+cesr',
Expand Down
4 changes: 3 additions & 1 deletion src/keri/app/grouping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ export class Groups {
sigs: string[],
atc: string
): Promise<any> {
const path = `/identifiers/${encodeURIComponent(name)}/multisig/request`;
const path = `/identifiers/${encodeURIComponent(
name
)}/multisig/request`;
const method = 'POST';
const data = {
exn: exn,
Expand Down

0 comments on commit c67f41b

Please sign in to comment.