fix(server): ulidを使用していると動作しない問題を修正
This commit is contained in:
		
							parent
							
								
									6cd3ff5848
								
							
						
					
					
						commit
						357da2ce3a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -31,7 +31,7 @@ const ajv = new Ajv({ | |||
| 	useDefaults: true, | ||||
| }); | ||||
| 
 | ||||
| ajv.addFormat('misskey:id', /^[a-z0-9]+$/); | ||||
| ajv.addFormat('misskey:id', /^[a-zA-Z0-9]+$/); | ||||
| 
 | ||||
| export default function <T extends IEndpointMeta, Ps extends Schema>(meta: T, paramDef: Ps, cb: executor<T, Ps>) | ||||
| 		: (params: any, user: T['requireCredential'] extends true ? SimpleUserInfo : SimpleUserInfo | null, token: AccessToken | null, file?: any) => Promise<any> { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue