Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric committed Jun 3, 2023
1 parent 2e6a5ab commit 2e6bd99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions request/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ const streamFetch = async (
};

export const Imagine = (body: string, loading?: (uri: MJMessage) => void) => {
return streamFetch("api/imagine/", body, loading);
return streamFetch("api/imagine", body, loading);
};

export const Upscale = (body: string, loading?: (uri: MJMessage) => void) => {
return streamFetch("api/upscale/", body, loading);
return streamFetch("api/upscale", body, loading);
};

export const Variation = (body: string, loading?: (uri: MJMessage) => void) => {
return streamFetch("api/variation/", body, loading);
return streamFetch("api/variation", body, loading);
};

1 comment on commit 2e6bd99

@vercel
Copy link

@vercel vercel bot commented on 2e6bd99 Jun 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.