diff --git a/services/graph/pkg/service/v0/personaldata.go b/services/graph/pkg/service/v0/personaldata.go index ed8ceb0f4b..b934acb96c 100644 --- a/services/graph/pkg/service/v0/personaldata.go +++ b/services/graph/pkg/service/v0/personaldata.go @@ -70,7 +70,7 @@ func (g Graph) ExportPersonalData(w http.ResponseWriter, r *http.Request) { // go start gathering go g.GatherPersonalData(u, ref, r.Header.Get(revactx.TokenHeader), marsh) - w.WriteHeader(http.StatusOK) + w.WriteHeader(http.StatusCreated) } // GatherPersonalData will all gather all personal data of the user and save it to a file in the users personal space