Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Yohe-Am committed May 22, 2024
1 parent 5d8e789 commit 6fe428a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions typegate/tests/metagen/__snapshots__/metagen_test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ impl Router {
}
pub fn init(&self, args: InitArgs) -> Result<InitResponse, InitError> {
static MT_VERSION: &str = "0.4.1-0";
static MT_VERSION: &str = "0.4.2";
if args.metatype_version != MT_VERSION {
return Err(InitError::VersionMismatch(MT_VERSION.into()));
}
Expand Down Expand Up @@ -824,7 +824,7 @@ impl Router {
}
pub fn init(&self, args: InitArgs) -> Result<InitResponse, InitError> {
static MT_VERSION: &str = "0.4.1-0";
static MT_VERSION: &str = "0.4.2";
if args.metatype_version != MT_VERSION {
return Err(InitError::VersionMismatch(MT_VERSION.into()));
}
Expand Down
2 changes: 1 addition & 1 deletion typegraph/node/sdk/src/runtimes/deno.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ interface PredefinedFuncMat extends Materializer {
}

export interface DenoFunc {
code: string | ((...any: []) => any);
code: string | ((...args: any[]) => any);
secrets?: Array<string>;
effect?: Effect;
}
Expand Down

0 comments on commit 6fe428a

Please sign in to comment.