fix messages findOne (#342)
This commit is contained in:
2
enjoy/src/types/enjoy-app.d.ts
vendored
2
enjoy/src/types/enjoy-app.d.ts
vendored
@@ -183,7 +183,7 @@ type EnjoyAppType = {
|
||||
};
|
||||
messages: {
|
||||
findAll: (params: any) => Promise<MessageType[]>;
|
||||
findOne: (params: any) => Promise<MessageType>;
|
||||
findOne: (where: any) => Promise<MessageType>;
|
||||
createInBatch: (messages: Partial<MessageType>[]) => Promise<void>;
|
||||
destroy: (id: string) => Promise<void>;
|
||||
createSpeech: (id: string, configuration?: any) => Promise<SpeechType>;
|
||||
|
||||
Reference in New Issue
Block a user