mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
linting
This commit is contained in:
parent
f442c289c2
commit
a1e8a4aab2
@ -1,6 +1,8 @@
|
|||||||
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
import { Field, ObjectType } from 'type-graphql'
|
import { Field, ObjectType } from 'type-graphql'
|
||||||
|
|
||||||
@ObjectType()
|
@ObjectType()
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
export class GetPublicKeyResult {
|
export class GetPublicKeyResult {
|
||||||
constructor(pubKey: string) {
|
constructor(pubKey: string) {
|
||||||
this.publicKey = pubKey
|
this.publicKey = pubKey
|
||||||
|
|||||||
@ -1,9 +1,11 @@
|
|||||||
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
import { Field, ObjectType, Query, Resolver } from 'type-graphql'
|
import { Field, ObjectType, Query, Resolver } from 'type-graphql'
|
||||||
import { federationLogger as logger } from '@/server/logger'
|
import { federationLogger as logger } from '@/server/logger'
|
||||||
import { Community as DbCommunity } from '@entity/Community'
|
import { Community as DbCommunity } from '@entity/Community'
|
||||||
import { GetPublicKeyResult } from '../model/GetPublicKeyResult'
|
import { GetPublicKeyResult } from '../model/GetPublicKeyResult'
|
||||||
|
|
||||||
@Resolver()
|
@Resolver()
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
export class PublicKeyResolver {
|
export class PublicKeyResolver {
|
||||||
@Query(() => GetPublicKeyResult)
|
@Query(() => GetPublicKeyResult)
|
||||||
async getPublicKey(): Promise<GetPublicKeyResult> {
|
async getPublicKey(): Promise<GetPublicKeyResult> {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user