mirror of
				https://gitlab.com/comunic/comunicapiv2
				synced 2025-10-31 01:24:43 +00:00 
			
		
		
		
	Fix typo
This commit is contained in:
		| @@ -282,7 +282,7 @@ export class SettingsController { | ||||
| 		const emojiID = await CustomEmojisHelper.Insert(new CustomEmoji({ | ||||
| 			id: -1, | ||||
| 			userID: h.getUserId(), | ||||
| 			shorcut: shortcut, | ||||
| 			shortcut: shortcut, | ||||
| 			path: path | ||||
| 		})) | ||||
|  | ||||
| @@ -314,7 +314,7 @@ export class SettingsController { | ||||
| 		return { | ||||
| 			id: c.id, | ||||
| 			userID: c.userID, | ||||
| 			shorcut: c.shorcut, | ||||
| 			shorcut: c.shortcut, | ||||
| 			url: c.url | ||||
| 		} | ||||
| 	} | ||||
|   | ||||
| @@ -9,14 +9,14 @@ import { pathUserData } from "../utils/UserDataUtils"; | ||||
| export interface CustomEmojiBuilder { | ||||
| 	id: number, | ||||
| 	userID: number, | ||||
| 	shorcut: string, | ||||
| 	shortcut: string, | ||||
| 	path: string, | ||||
| } | ||||
|  | ||||
| export class CustomEmoji implements CustomEmojiBuilder { | ||||
| 	id: number; | ||||
| 	userID: number; | ||||
| 	shorcut: string; | ||||
| 	shortcut: string; | ||||
| 	path: string; | ||||
|  | ||||
| 	public constructor(info: CustomEmojiBuilder) { | ||||
|   | ||||
| @@ -23,7 +23,7 @@ export class CustomEmojisHelper { | ||||
| 			EMOJIS_TABLE, | ||||
| 			{ | ||||
| 				user_id: e.userID, | ||||
| 				shortcut: e.shorcut, | ||||
| 				shortcut: e.shortcut, | ||||
| 				path: e.path | ||||
| 			} | ||||
| 		) | ||||
| @@ -116,7 +116,7 @@ export class CustomEmojisHelper { | ||||
| 		return new CustomEmoji({ | ||||
| 			id: row.id, | ||||
| 			userID: row.user_id, | ||||
| 			shorcut: row.shortcut, | ||||
| 			shortcut: row.shortcut, | ||||
| 			path: row.path | ||||
| 		}) | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user