fix: Schema miss
This commit is contained in:
1 parent
acddb00cd8
commit
c34d14121e
1 file changed
+1
-1
@@ -10,7 +10,7 @@ type Payload = Static<typeof SchemaData>;
|
|||||||
|
|
||||||
export class FetchUserProfileLike extends OneBotAction<Payload, any> {
|
export class FetchUserProfileLike extends OneBotAction<Payload, any> {
|
||||||
actionName = ActionName.FetchUserProfileLike;
|
actionName = ActionName.FetchUserProfileLike;
|
||||||
|
payloadSchema = SchemaData;
|
||||||
async _handle(payload: Payload) {
|
async _handle(payload: Payload) {
|
||||||
return await this.core.apis.UserApi.getUidByUinV2(payload.user_id.toString());
|
return await this.core.apis.UserApi.getUidByUinV2(payload.user_id.toString());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user