We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5eb805 commit 6248dbcCopy full SHA for 6248dbc
fasp_data_sharing/app/models/fasp_data_sharing/activity_pub_object.rb
@@ -8,9 +8,11 @@ class FaspDataSharing::ActivityPubObject
8
9
def fetch
10
response = message_signature_request
11
- response = signature_request if response.status.in?([ 401, 403 ])
12
13
response.raise_for_status
+
14
+ response = signature_request if response.status.in?([ 401, 403 ])
15
16
JSON.parse(response.body.to_s) # TODO: simplify with response.json after next httpx release
17
end
18
0 commit comments