From c3a0d31a086a4e9446a9efa8e1498fa80b9103cb Mon Sep 17 00:00:00 2001 From: Stephen Inglis <519327+stevieing@users.noreply.github.com> Date: Wed, 11 Aug 2021 16:29:43 +0100 Subject: [PATCH] Update pacbio run to fix create. --- src/api/PacbioRun.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/PacbioRun.js b/src/api/PacbioRun.js index f1d932616..adf97c12a 100644 --- a/src/api/PacbioRun.js +++ b/src/api/PacbioRun.js @@ -68,7 +68,7 @@ const create = async (run, request) => { } const createResource = async (payload, request) => { - let response = await handlePromise(request.create(payload)) + let response = await handlePromise(request.create({ data: payload })) if (response.successful) { return response } else {