GDT Balance returns float

This commit is contained in:
Ulf Gebhardt 2023-03-03 22:54:42 +01:00
parent 18491cc380
commit 230a47d32b
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -39,7 +39,7 @@ export class GdtResolver {
}
@Authorized([RIGHTS.GDT_BALANCE])
@Query(() => Int, { nullable: true })
@Query(() => Float, { nullable: true })
async gdtBalance(@Ctx() context: Context): Promise<number | null> {
const user = getUser(context)
try {