mirror of
https://github.com/fosrl/pangolin.git
synced 2026-09-23 02:52:58 +02:00
Merge pull request #3600 from shleeable/patch-14
Typo: Fix error to be correctly related to newt
This commit is contained in:
@@ -31,7 +31,7 @@ export async function addPeer(
|
|||||||
.where(eq(newts.siteId, siteId))
|
.where(eq(newts.siteId, siteId))
|
||||||
.limit(1);
|
.limit(1);
|
||||||
if (!newt) {
|
if (!newt) {
|
||||||
throw new Error(`Site found for site ${siteId}`);
|
throw new Error(`Newt not found for site ${siteId}`);
|
||||||
}
|
}
|
||||||
newtId = newt.newtId;
|
newtId = newt.newtId;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user