🚚 move handleFile to cdn
This commit is contained in:
		
							parent
							
								
									75e948b62b
								
							
						
					
					
						commit
						c50648ddcc
					
				| @ -1,10 +1,9 @@ | ||||
| import { Router, Response, Request } from "express"; | ||||
| import { Attachment, Channel, ChannelType, Embed, getPermission, Message } from "@fosscord/util"; | ||||
| import { Attachment, Channel, ChannelType, Embed, getPermission, Message, uploadFile } from "@fosscord/util"; | ||||
| import { HTTPError } from "lambert-server"; | ||||
| import { route } from "@fosscord/api"; | ||||
| import multer from "multer"; | ||||
| import { sendMessage } from "@fosscord/api"; | ||||
| import { uploadFile } from "@fosscord/api"; | ||||
| import { FindManyOptions, LessThan, MoreThan } from "typeorm"; | ||||
| 
 | ||||
| const router: Router = Router(); | ||||
|  | ||||
| @ -1,8 +1,7 @@ | ||||
| import { Request, Response, Router } from "express"; | ||||
| import { emitEvent, getPermission, Guild, GuildUpdateEvent, Member } from "@fosscord/util"; | ||||
| import { emitEvent, getPermission, Guild, GuildUpdateEvent, handleFile, Member } from "@fosscord/util"; | ||||
| import { HTTPError } from "lambert-server"; | ||||
| import { route } from "@fosscord/api"; | ||||
| import { handleFile } from "@fosscord/api"; | ||||
| import "missing-native-js-functions"; | ||||
| import { GuildCreateSchema } from "../index"; | ||||
| 
 | ||||
|  | ||||
| @ -1,7 +1,6 @@ | ||||
| import { Router, Request, Response } from "express"; | ||||
| import { Role, Guild, Snowflake, Config, User, Member, Channel } from "@fosscord/util"; | ||||
| import { handleFile, route } from "@fosscord/api"; | ||||
| import { DiscordApiErrors } from "@fosscord/util"; | ||||
| import { Role, Guild, Snowflake, Config, Member, Channel, DiscordApiErrors, handleFile } from "@fosscord/util"; | ||||
| import { route } from "@fosscord/api"; | ||||
| import { ChannelModifySchema } from "../channels/#channel_id"; | ||||
| 
 | ||||
| const router: Router = Router(); | ||||
|  | ||||
| @ -1,7 +1,6 @@ | ||||
| import { Router, Request, Response } from "express"; | ||||
| import { User, PrivateUserProjection, emitEvent, UserUpdateEvent } from "@fosscord/util"; | ||||
| import { User, PrivateUserProjection, emitEvent, UserUpdateEvent, handleFile } from "@fosscord/util"; | ||||
| import { route } from "@fosscord/api"; | ||||
| import { handleFile } from "@fosscord/api"; | ||||
| 
 | ||||
| const router: Router = Router(); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Flam3rboy
						Flam3rboy