Merge pull request #3600 from shleeable/patch-14

Typo: Fix error to be correctly related to newt
This commit is contained in:
Owen Schwartz
2026-09-21 14:35:26 -04:00
committed by GitHub
+1 -1
View File
@@ -31,7 +31,7 @@ export async function addPeer(
.where(eq(newts.siteId, siteId))
.limit(1);
if (!newt) {
throw new Error(`Site found for site ${siteId}`);
throw new Error(`Newt not found for site ${siteId}`);
}
newtId = newt.newtId;
}