Skip to content

Commit 33a7ec0

Browse files
authored
Add changelog entry for authpolicy deprecation. (#1674)
* Add changelog. * Make linter happy. * Formatter.
1 parent 82c4fc9 commit 33a7ec0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Add @deprecated annotation to callable functions's auth policy.

spec/helper.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ export function runHandler(
7878

7979
const toSend = typeof sendBody === "object" ? JSON.stringify(sendBody) : sendBody;
8080
const body =
81-
typeof this.sentBody === "undefined"
82-
? toSend
83-
: this.sentBody + String(toSend || "");
81+
typeof this.sentBody === "undefined" ? toSend : this.sentBody + String(toSend || "");
8482
this.end(body);
8583
}
8684

0 commit comments

Comments
 (0)