chore: remove repetitive words (#6290)

Signed-off-by: reallylowest <sunjinping@outlook.com>
This commit is contained in:
reallylowest 2024-04-01 22:47:51 +08:00 committed by GitHub
parent 10ef48a199
commit ed1c5dd184
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View file

@ -355,7 +355,7 @@ exports.getChatHistory = async (padID: string, start:number, end:number) => {
throw new CustomError('end is higher than the current chatHead', 'apierror');
}
// the the whole message-log and return it to the client
// the whole message-log and return it to the client
const messages = await pad.getChatMessages(start, end);
return {messages};