mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
rename getPublicKey function
This commit is contained in:
parent
4850923f17
commit
1c6142220f
@ -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`
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user