update deps (#11764)
* update deps
* node16
* wip
* wip
* wip
* Update test-utils.ts
* wip
* Update tsconfig.json
* wip
* Update package.json
* wip
* Update following.vue
* Update followers.vue
* Update index.vue
* Update share.vue
* Update MkUserPopup.vue
* Update MkPostForm.vue
* wip
* Update MkTokenGenerateWindow.vue
* Update MkPagination.vue
* refactor
* update deps
* update deps
* Update sw.ts
* wip
* wip
* wip
* Update FetchInstanceMetadataService.ts
* Update FetchInstanceMetadataService.ts
* update node
* update deps
* 🎨
			
			
This commit is contained in:
		@@ -3,7 +3,7 @@
 | 
			
		||||
 * SPDX-License-Identifier: AGPL-3.0-only
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
import * as Acct from 'misskey-js/built/acct';
 | 
			
		||||
import * as Misskey from 'misskey-js';
 | 
			
		||||
import { host as localHost } from '@/config';
 | 
			
		||||
 | 
			
		||||
export async function genSearchQuery(v: any, q: string) {
 | 
			
		||||
@@ -18,7 +18,7 @@ export async function genSearchQuery(v: any, q: string) {
 | 
			
		||||
					host = at;
 | 
			
		||||
				}
 | 
			
		||||
			} else {
 | 
			
		||||
				const user = await v.os.api('users/show', Acct.parse(at)).catch(x => null);
 | 
			
		||||
				const user = await v.os.api('users/show', Misskey.acct.parse(at)).catch(x => null);
 | 
			
		||||
				if (user) {
 | 
			
		||||
					userId = user.id;
 | 
			
		||||
				} else {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user