mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-30 18:20:24 -05:00
Log sync method in response
This commit is contained in:
@@ -129,6 +129,7 @@ app.post('/sync', async (req, res) => {
|
|||||||
newMessages.forEach((msg) => responsePb.addMessages(msg));
|
newMessages.forEach((msg) => responsePb.addMessages(msg));
|
||||||
|
|
||||||
res.set('Content-Type', 'application/actual-sync');
|
res.set('Content-Type', 'application/actual-sync');
|
||||||
|
res.set('X-ACTUAL-SYNC-METHOD', 'simple');
|
||||||
res.send(Buffer.from(responsePb.serializeBinary()));
|
res.send(Buffer.from(responsePb.serializeBinary()));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user