mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 02:02:25 -05:00 
			
		
		
		
	moving stuff around
This commit is contained in:
		
					parent
					
						
							
								684bd56528
							
						
					
				
			
			
				commit
				
					
						4696e1a7b3
					
				
			
		
					 93 changed files with 878 additions and 1750 deletions
				
			
		|  | @ -28,7 +28,7 @@ import ( | |||
| 	"github.com/superseriousbusiness/gotosocial/internal/api/model" | ||||
| 	"github.com/superseriousbusiness/gotosocial/internal/media" | ||||
| 	"github.com/superseriousbusiness/gotosocial/internal/oauth" | ||||
| 	"github.com/superseriousbusiness/gotosocial/internal/util" | ||||
| 	"github.com/superseriousbusiness/gotosocial/internal/validate" | ||||
| ) | ||||
| 
 | ||||
| // emojiCreateRequest swagger:operation POST /api/v1/admin/custom_emojis emojiCreate | ||||
|  | @ -132,5 +132,5 @@ func validateCreateEmoji(form *model.EmojiCreateRequest) error { | |||
| 		return fmt.Errorf("file size limit exceeded: limit is %d bytes but emoji was %d bytes", media.EmojiMaxBytes, form.Image.Size) | ||||
| 	} | ||||
| 
 | ||||
| 	return util.ValidateEmojiShortcode(form.Shortcode) | ||||
| 	return validate.EmojiShortcode(form.Shortcode) | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue