style(sync): format sync domain and test files with prettier
Нормализация форматирования модулей и тестов офлайн-синхронизации в соответствии с правилами Prettier репозитория без изменения поведения.
This commit is contained in:
parent
1a77a8264b
commit
cb77a3872e
1 changed files with 3 additions and 1 deletions
|
|
@ -44,7 +44,9 @@ export function decodeCursor(tenantId: string, cursor: string): bigint {
|
||||||
candidateBuffer.length !== expectedBuffer.length ||
|
candidateBuffer.length !== expectedBuffer.length ||
|
||||||
!crypto.timingSafeEqual(candidateBuffer, expectedBuffer)
|
!crypto.timingSafeEqual(candidateBuffer, expectedBuffer)
|
||||||
) {
|
) {
|
||||||
throw new InvalidCursorError('Подпись курсора синхронизации недействительна для данного арендатора');
|
throw new InvalidCursorError(
|
||||||
|
'Подпись курсора синхронизации недействительна для данного арендатора',
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return BigInt(seqStr);
|
return BigInt(seqStr);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue