(data: PlainMessage<GetProjectRequest>)
| 150 | }; |
| 151 | |
| 152 | export const getProject = async (data: PlainMessage<GetProjectRequest>) => { |
| 153 | const response = await apiclient.get(`/projects/${data.projectId}`, data, { |
| 154 | ignoreErrorToast: true, |
| 155 | }); |
| 156 | return fromJson(GetProjectResponseSchema, response); |
| 157 | }; |
| 158 | |
| 159 | export const getCitationKeys = async (data: PlainMessage<GetCitationKeysRequest>) => { |
| 160 | const response = await apiclientV2.get(`/chats/citation-keys`, data, { |
no test coverage detected