From 25e35e3c3ae86be549f11861f10894c86c46cbdd Mon Sep 17 00:00:00 2001 From: Petra Jaros Date: Mon, 7 Oct 2024 17:47:54 -0400 Subject: [PATCH] fix: Error should refer to Resource, not Issuer (#1558) It's checking the `with` of the capability. --- packages/upload-api/src/provider-add.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/upload-api/src/provider-add.js b/packages/upload-api/src/provider-add.js index 1a42dd44d..7c12e875a 100644 --- a/packages/upload-api/src/provider-add.js +++ b/packages/upload-api/src/provider-add.js @@ -32,7 +32,7 @@ export const add = async ( return { error: { name: 'Unauthorized', - message: 'Issuer must be a mailto DID', + message: 'Resource must be a mailto DID', }, } }