Skip to content

Commit

Permalink
hotfix: update wrangler and add missing createResponse import
Browse files Browse the repository at this point in the history
  • Loading branch information
whoabuddy committed Feb 25, 2023
1 parent df33d90 commit 38cdbf4
Show file tree
Hide file tree
Showing 3 changed files with 1,611 additions and 55 deletions.
2 changes: 1 addition & 1 deletion functions/api/ccd006-citycoin-mining/is-block-winner.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { fetchReadOnlyFunction } from 'micro-stacks/api';
import { principalCV, uintCV } from 'micro-stacks/clarity';
import { BlockWinner, DEPLOYER, NETWORK } from '../../../lib/api-helpers';
import { BlockWinner, createResponse, DEPLOYER, NETWORK } from '../../../lib/api-helpers';

// TODO: upgrade types and check if EventContext is found
export async function onRequest(context: any): Promise<Response> {
Expand Down
Loading

0 comments on commit 38cdbf4

Please sign in to comment.