Skip to content

Commit b2470f2

Browse files
arfiobhufmann
authored andcommitted
Change fetchTimeGraphArrows to return an array of TimeGraphArrow
Signed-off-by: Arnaud Fiorini <fiorini.arnaud@gmail.com>
1 parent 5f4f154 commit b2470f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/protocol/tsp-client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,9 @@ export class TspClient {
215215
* @param parameters Query object
216216
* @returns Generic response with the model
217217
*/
218-
public async fetchTimeGraphArrows(expUUID: string, outputID: string, parameters: Query): Promise<TspClientResponse<GenericResponse<TimeGraphArrow>>> {
218+
public async fetchTimeGraphArrows(expUUID: string, outputID: string, parameters: Query): Promise<TspClientResponse<GenericResponse<TimeGraphArrow[]>>> {
219219
const url = this.baseUrl + '/experiments/' + expUUID + '/outputs/timeGraph/' + outputID + '/arrows';
220-
return await RestClient.post<GenericResponse<TimeGraphArrow>>(url, parameters);
220+
return await RestClient.post<GenericResponse<TimeGraphArrow[]>>(url, parameters);
221221
}
222222

223223
/**

0 commit comments

Comments
 (0)