Skip to content

Commit

Permalink
run yarn format:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dehoward committed Aug 8, 2023
1 parent 75291fe commit 751d990
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
7 changes: 2 additions & 5 deletions webapp/src/libs/services/ChatService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ import { ICustomPlugin } from '../semantic-kernel/model/CustomPlugin';
import { BaseService } from './BaseService';

export class ChatService extends BaseService {
public createChatAsync = async (
title: string,
accessToken: string,
): Promise<ICreateChatSessionResponse> => {
public createChatAsync = async (title: string, accessToken: string): Promise<ICreateChatSessionResponse> => {
const body = {
title,
};
Expand Down Expand Up @@ -173,7 +170,7 @@ export class ChatService extends BaseService {
await this.getResponseAsync<any>(
{
commandPath: `chatSessions/${chatId}/participants`,
method: 'POST'
method: 'POST',
// TODO: how to specify no content?
},
accessToken,
Expand Down
6 changes: 1 addition & 5 deletions webapp/src/libs/services/DocumentImportService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ import { IChatMessage } from '../models/ChatMessage';
import { BaseService } from './BaseService';

export class DocumentImportService extends BaseService {
public importDocumentAsync = async (
chatId: string,
documents: File[],
accessToken: string,
) => {
public importDocumentAsync = async (chatId: string, documents: File[], accessToken: string) => {
const formData = new FormData();
formData.append('chatId', chatId);
formData.append('documentScope', 'Chat');
Expand Down

0 comments on commit 751d990

Please sign in to comment.