mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-08-13 12:02:54 +02:00
「🔨」 fix: fixed txHash
This commit is contained in:
@ -18,7 +18,7 @@ export async function addTx(request, reply, fastify) {
|
||||
});
|
||||
|
||||
return reply.code(200).send({
|
||||
id: id
|
||||
id: Number(id)
|
||||
});
|
||||
} catch (err) {
|
||||
fastify.log.error(err);
|
||||
|
@ -22,7 +22,7 @@ export async function getTx(request, reply, fastify) {
|
||||
p1Score: Number(score.p1Score),
|
||||
p2Score: Number(score.p2Score)
|
||||
},
|
||||
tx: tx
|
||||
tx: tx?.txHash ?? null
|
||||
});
|
||||
} catch (err) {
|
||||
fastify.log.error(err);
|
||||
|
Reference in New Issue
Block a user