Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
console
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
console
Commits
6d331f7a
Commit
6d331f7a
authored
Oct 10, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix checksum
parent
a9631fe6
Pipeline
#40988
passed with stages
in 1 minute and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
console-api/src/update/update.controller.ts
console-api/src/update/update.controller.ts
+4
-2
No files found.
console-api/src/update/update.controller.ts
View file @
6d331f7a
...
@@ -81,9 +81,11 @@ export class UpdateController {
...
@@ -81,9 +81,11 @@ export class UpdateController {
@
Res
()
res
:
Response
,
@
Res
()
res
:
Response
,
@
Param
(
'
id
'
)
id
:
string
,
@
Param
(
'
id
'
)
id
:
string
,
@
Query
(
new
ValidationPipe
({
transform
:
true
}))
depot
:
DepotDto
,
@
Query
(
new
ValidationPipe
({
transform
:
true
}))
depot
:
DepotDto
,
@
Param
(
'
version
'
)
version
:
string
,
@
Param
(
'
version
'
)
version
:
string
)
{
)
{
await
stableSend
(
req
,
res
,
this
.
updateService
.
getChecksum
(
id
,
depot
,
version
));
const
checksum
=
await
this
.
updateService
.
getChecksum
(
id
,
depot
,
version
);
const
checksumText
=
checksum
.
files
.
map
((
f
)
=>
`
${
f
.
hash
}
${
f
.
name
}
`
).
join
(
'
\n
'
)
+
'
\n
'
;
await
stableSend
(
req
,
res
,
checksumText
,
'
public, max-age=31536000, immutable
'
,
'
text/plain; charset=utf-8
'
);
return
;
return
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment