Log sync method in response
This commit is contained in:
parent
06aa89bb9f
commit
4fd86c9e8f
1 changed files with 1 additions and 0 deletions
|
@ -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()));
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue