feature(worker+api): improve buffer

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-09-17 23:37:11 +02:00
parent 32e91959f6
commit 545cbfd520
18 changed files with 1484 additions and 432 deletions

View File

@@ -222,7 +222,7 @@ export async function upsertProfile({
projectId,
isExternal,
}: IServiceUpsertProfile) {
return profileBuffer.insert({
return profileBuffer.add({
id,
first_name: firstName!,
last_name: lastName!,