correct wrong console.warn for replies in mock db initialization (#153)

pull/155/head
Dario Piotrowicz 2023-01-24 12:47:51 +00:00 zatwierdzone przez GitHub
rodzic a4389003ce
commit 609e497deb
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -40,7 +40,9 @@ async function createReply(
const originalStatus = loadedStatuses.find(({ status: { id } }) => id === reply.in_reply_to_id)
if (!originalStatus) {
console.warn(`Ignoring reply since no status matching the in_reply_to_id ${reply.id} has been found`)
console.warn(
`Ignoring reply with id ${reply.id} since no status matching the in_reply_to_id ${reply.in_reply_to_id} has been found`
)
return
}