Skip to content

Commit

Permalink
post-not-get
Browse files Browse the repository at this point in the history
  • Loading branch information
uriva committed Dec 24, 2023
1 parent 9eaffce commit 2f47fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/keyManipulation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const parseCacheIdAndKey = (hashKey: (...xs: any[]) => string, x: string) => {
return { cacheId, key: hashKey(...JSON.parse(key)) };
};
const actOnKey = (action: string) => (args: string) => (secret: string) =>
callServer("", "GET", {
callServer("", "POST", {
action,
...parseCacheIdAndKey(inputToCacheKey(secret, undefined), args),
})(
Expand Down

0 comments on commit 2f47fa7

Please sign in to comment.