Skip to content

Commit

Permalink
feat: activate queue (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
gpuente authored May 8, 2024
2 parents 6509c22 + 70da227 commit 7b3accf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/src/modules/document/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,15 @@ export function getDocumentDriveCRUD(prisma: Prisma.TransactionClient) {
) => {
if (!documentId) {
logger.info('adding drive operations')
const result = await driveServer.addDriveOperations(
const result = await driveServer.queueDriveOperations(
driveId,
operations,
);

return result;
}
logger.info('adding operations to document')
const result = await driveServer.addOperations(
const result = await driveServer.queueOperations(
driveId,
documentId,
operations,
Expand Down

0 comments on commit 7b3accf

Please sign in to comment.