Skip to content

Commit

Permalink
hot-fix: skip context.db (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
roshaans authored Oct 16, 2023
1 parent db16f1f commit cb91dcf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions indexer-js-queue-handler/handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ export const consumer = async (event) => {
const functions = {};

const function_config = jsonBody.indexer_function;
const code = function_config.code;
if (code.indexOf('context.db') >= 0) {
continue
}

const function_name = function_config.account_id + '/' + function_config.function_name;
functions[function_name] = function_config;

Expand Down

0 comments on commit cb91dcf

Please sign in to comment.