Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Commit 70f90ec

Browse files
wxh06Minstdfx
andcommitted
Support pseudo badges
Co-Authored-By: minstdfx <56465435+Minstdfx@users.noreply.github.com>
1 parent 1b70cd7 commit 70f90ec

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/app.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ export default (class {
124124
'fw', req.body.data.fw,
125125
'font', req.body.data.font,
126126
'border', req.body.data.border,
127+
'pseudo', req.body.data.pseudo,
127128
]);
128129
respond(res, 200, { [req.body.uid.toString()]: req.body.data });
129130
});

src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export interface Badge {
1212
fw: string;
1313
font: string;
1414
border: string;
15+
pseudo: string;
1516
}
1617

1718
type UId = number | string;

0 commit comments

Comments
 (0)