We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 062d2f1 commit 2893202Copy full SHA for 2893202
1 file changed
apps/api/src/instrument-records/instrument-records.service.ts
@@ -132,7 +132,10 @@ export class InstrumentRecordsService {
132
return this.instrumentRecordModel.exists(where);
133
}
134
135
- async exportRecords({ groupId }: { groupId?: string } = {}, { ability }: Required<EntityOperationOptions>) {
+ async exportRecords(
136
+ { groupId }: { groupId?: string } = {},
137
+ { ability }: Required<EntityOperationOptions>
138
+ ): Promise<InstrumentRecordsExport> {
139
const records = await this.queryRecordsRaw(ability, groupId);
140
141
const instrumentIds = new Set(records.map((r) => r.instrumentId));
0 commit comments