mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 20:44:32 -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));
|
||||
|
||||
res.set('Content-Type', 'application/actual-sync');
|
||||
res.set('X-ACTUAL-SYNC-METHOD', 'simple');
|
||||
res.send(Buffer.from(responsePb.serializeBinary()));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user