Commit 6694d7b3 authored by 神楽坂玲奈's avatar 神楽坂玲奈

index name

parent b9159b32
Pipeline #8118 failed with stages
in 1 minute and 18 seconds
......@@ -12,7 +12,8 @@ import { ElasticsearchService } from '@nestjs/elasticsearch';
@Injectable()
export class MessageService
extends ConsoleLogger
implements OnApplicationBootstrap {
implements OnApplicationBootstrap
{
constructor(
@InjectCenterAccount()
private readonly centerAccount: string,
......@@ -55,7 +56,7 @@ export class MessageService
);
await this.elasticsearchService.index({
index: `user_message_${session.selfId}`,
index: `messages`,
body: {
selfId: session.selfId,
type: session.subtype as string,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment