use correct status code

Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
jkoberg
2023-03-30 14:57:41 +02:00
parent db5c84816b
commit e0b07dee70
@@ -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