Skip to content

Commit

Permalink
Merge branch 'main' into build/v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Varixo authored Oct 17, 2024
2 parents c97cb71 + 94ee2b4 commit 1fa3cc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ export const onPost: RequestHandler = async ({ exit, json, request, params }) =>
}
};

function cleanupSymbolName(symbolName?: string | null) {
if (!symbolName) return;
function cleanupSymbolName(symbolName?: string | null): string | null {
if (!symbolName) return null;
const shortName = symbolName.substring(symbolName.lastIndexOf('_') + 1 || 0);
if (shortName == 'hW') return;
if (shortName == 'hW') return null;
return shortName;
}
function migrate1(payloadJson: any) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export const useErrors = routeLoader$(async ({ params }) => {
.select()
.from(errorTable)
.where(eq(errorTable.publicApiKey, params.publicApiKey))
.limit(1000)
.orderBy(sql`${errorTable.timestamp} DESC`)
.limit(1000)
.all();
Expand Down

0 comments on commit 1fa3cc3

Please sign in to comment.