plugin-git-manager 1.1.4 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -273,7 +273,7 @@ async function runReview(app, args) {
|
|
|
273
273
|
db,
|
|
274
274
|
state: { currentUser: args.userId ? { id: args.userId } : null },
|
|
275
275
|
auth: { user: args.userId ? { id: args.userId } : { id: null } },
|
|
276
|
-
req: { headers: { "x-timezone": "
|
|
276
|
+
req: { headers: { "x-timezone": "+00:00", "x-locale": "en-US" } },
|
|
277
277
|
log: app.logger || console,
|
|
278
278
|
get(name) {
|
|
279
279
|
return this.req.headers[String(name).toLowerCase()];
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"displayName": "Git Manager",
|
|
4
4
|
"displayName.zh-CN": "Git 管理器",
|
|
5
5
|
"description": "Manage Git repositories with PAT authentication - pull, push, fetch, diff, file browsing",
|
|
6
|
-
"version": "1.1.
|
|
6
|
+
"version": "1.1.6",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"main": "dist/server/index.js",
|
|
9
9
|
"files": [
|
|
@@ -341,7 +341,7 @@ async function runReview(app: Application, args: RunReviewArgs) {
|
|
|
341
341
|
db,
|
|
342
342
|
state: { currentUser: args.userId ? { id: args.userId } : null },
|
|
343
343
|
auth: { user: args.userId ? { id: args.userId } : { id: null } },
|
|
344
|
-
req: { headers: { 'x-timezone': '
|
|
344
|
+
req: { headers: { 'x-timezone': '+00:00', 'x-locale': 'en-US' } },
|
|
345
345
|
log: app.logger || console,
|
|
346
346
|
get(name: string) {
|
|
347
347
|
return this.req.headers[String(name).toLowerCase()];
|