fix missing type
Some checks failed
API report (misskey.js) / report (push) Successful in 2m27s
Dockle / dockle (pull_request) Failing after 38s
API report (misskey.js) / report (pull_request) Successful in 2m23s
Test (backend) / unit (22.x) (pull_request) Failing after 30s
Test (backend) / e2e (22.x) (pull_request) Failing after 8s
Test (frontend) / vitest (22.x) (pull_request) Failing after 7s
Lint / pnpm_install (pull_request) Successful in 2m15s
Test (misskey.js) / test (22.x) (pull_request) Failing after 6s
Test (production install and build) / production (22.x) (pull_request) Successful in 2m31s
Pull Request Labeler / triage (pull_request_target) Failing after 2s
Test (backend) / validate-api-json (22.x) (pull_request) Successful in 3m16s
Lint / lint (backend) (pull_request) Failing after 1m37s
Lint / lint (misskey-js) (pull_request) Successful in 2m21s
Lint / lint (sw) (pull_request) Successful in 1m53s
Lint / lint (frontend) (pull_request) Failing after 8m30s
Lint / typecheck (backend) (pull_request) Successful in 4m16s
Lint / typecheck (misskey-js) (pull_request) Successful in 2m18s
Some checks failed
API report (misskey.js) / report (push) Successful in 2m27s
Dockle / dockle (pull_request) Failing after 38s
API report (misskey.js) / report (pull_request) Successful in 2m23s
Test (backend) / unit (22.x) (pull_request) Failing after 30s
Test (backend) / e2e (22.x) (pull_request) Failing after 8s
Test (frontend) / vitest (22.x) (pull_request) Failing after 7s
Lint / pnpm_install (pull_request) Successful in 2m15s
Test (misskey.js) / test (22.x) (pull_request) Failing after 6s
Test (production install and build) / production (22.x) (pull_request) Successful in 2m31s
Pull Request Labeler / triage (pull_request_target) Failing after 2s
Test (backend) / validate-api-json (22.x) (pull_request) Successful in 3m16s
Lint / lint (backend) (pull_request) Failing after 1m37s
Lint / lint (misskey-js) (pull_request) Successful in 2m21s
Lint / lint (sw) (pull_request) Successful in 1m53s
Lint / lint (frontend) (pull_request) Failing after 8m30s
Lint / typecheck (backend) (pull_request) Successful in 4m16s
Lint / typecheck (misskey-js) (pull_request) Successful in 2m18s
This commit is contained in:
parent
7f649ff9aa
commit
22a16e0d5a
2 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
let followee;
|
||||
try {
|
||||
followee = await this.getterService.getUser(ps.userId);
|
||||
} catch (err) {
|
||||
} catch (err: any) {
|
||||
if (err.id === '15348ddd-432d-49c2-8a5a-8069753becff') {
|
||||
throw new ApiError(meta.errors.noSuchUser);
|
||||
}
|
||||
|
|
|
@ -2552,7 +2552,7 @@ type ModerationLog = {
|
|||
});
|
||||
|
||||
// @public (undocumented)
|
||||
export const moderationLogTypes: readonly ["updateServerSettings", "suspend", "approve", "unsuspend", "updateUserName", "updateUserNote", "addCustomEmoji", "updateCustomEmoji", "deleteCustomEmoji", "assignRole", "unassignRole", "createRole", "updateRole", "deleteRole", "clearQueue", "promoteQueue", "deleteDriveFile", "deleteNote", "createGlobalAnnouncement", "createUserAnnouncement", "updateGlobalAnnouncement", "updateUserAnnouncement", "deleteGlobalAnnouncement", "deleteUserAnnouncement", "resetPassword", "regenerateUserToken", "suspendRemoteInstance", "unsuspendRemoteInstance", "updateRemoteInstanceNote", "markSensitiveDriveFile", "unmarkSensitiveDriveFile", "resolveAbuseReport", "createInvitation", "createAd", "updateAd", "deleteAd", "createIndieAuthClient", "updateIndieAuthClient", "deleteIndieAuthClient", "createSSOServiceProvider", "updateSSOServiceProvider", "deleteSSOServiceProvider", "createAvatarDecoration", "updateAvatarDecoration", "deleteAvatarDecoration", "unsetUserAvatar", "unsetUserBanner", "unsetUserMutualBanner"];
|
||||
export const moderationLogTypes: readonly ["updateServerSettings", "suspend", "approve", "decline", "unsuspend", "updateUserName", "updateUserNote", "addCustomEmoji", "updateCustomEmoji", "deleteCustomEmoji", "assignRole", "unassignRole", "createRole", "updateRole", "deleteRole", "clearQueue", "promoteQueue", "deleteDriveFile", "deleteNote", "createGlobalAnnouncement", "createUserAnnouncement", "updateGlobalAnnouncement", "updateUserAnnouncement", "deleteGlobalAnnouncement", "deleteUserAnnouncement", "resetPassword", "regenerateUserToken", "suspendRemoteInstance", "unsuspendRemoteInstance", "updateRemoteInstanceNote", "markSensitiveDriveFile", "unmarkSensitiveDriveFile", "resolveAbuseReport", "createInvitation", "createAd", "updateAd", "deleteAd", "createIndieAuthClient", "updateIndieAuthClient", "deleteIndieAuthClient", "createSSOServiceProvider", "updateSSOServiceProvider", "deleteSSOServiceProvider", "createAvatarDecoration", "updateAvatarDecoration", "deleteAvatarDecoration", "unsetUserAvatar", "unsetUserBanner", "unsetUserMutualBanner"];
|
||||
|
||||
// @public (undocumented)
|
||||
type MuteCreateRequest = operations['mute___create']['requestBody']['content']['application/json'];
|
||||
|
|
Loading…
Reference in a new issue