rename getPublicKey function

This commit is contained in:
Ulf Gebhardt 2023-05-04 01:40:50 +02:00
parent 4850923f17
commit 1c6142220f
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ export class Client_1_0 {
})
}
requestGetPublicKey = async (): Promise<string | undefined> => {
getPublicKey = async (): Promise<string | undefined> => {
logger.info(`requestGetPublicKey with endpoint='${this.endpoint}'...`)
const query = gql`

View File

@ -35,7 +35,7 @@ export async function validateCommunities(): Promise<void> {
`Federation: validate publicKey for dbCom: ${dbCom.id} with apiVersion=${dbCom.apiVersion}`,
)
try {
const pubKey = await Client.getInstance(dbCom)?.requestGetPublicKey()
const pubKey = await Client.getInstance(dbCom)?.getPublicKey()
logger.info(
'Federation: received publicKey from endpoint',
pubKey,