fix: method signature of _handle
This commit is contained in:
1 parent
8839563ff8
commit
ae5d50141b
69 files changed
+97
-78
No files matched your search
@@ -16,7 +16,7 @@ export class SetLongNick extends BaseAction<Payload, any> {
|
||||
actionName = ActionName.SetLongNick;
|
||||
PayloadSchema = SchemaData;
|
||||
|
||||
protected async _handle(payload: Payload) {
|
||||
async _handle(payload: Payload) {
|
||||
const NTQQUserApi = this.CoreContext.getApiContext().UserApi;
|
||||
const ret = await NTQQUserApi.setLongNick(payload.longNick);
|
||||
return ret;
|
||||
|
||||
Reference in new issue
Block a user