HomeMusing Studio

Fix missing hostname when publishing via API

Description

Fix missing hostname when publishing via API

This fixes a bug that occurred only when publishing via API and
authenticating via token (rather than cookie).

Previously, the instance's hostname wouldn't be added to the Collection
that got passed around after retrieving the owned post, meaning an
incomplete URL was returned in the API response, and federation failed due
to the missing host.

Details

Provenance
mattAuthored on Jul 22 2019, 6:02 PM
Parents
rWFba3cb4b4ff70: Merge pull request #138 from writeas/fix-unpublished-state
Branches
Unknown
Tags
Unknown