Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
cwclientlibjs
Commits
a5ff2e233808
Commit
cff25d19
authored
Sep 15, 2021
by
Laurent Wouters
Browse files
Fix extra slash on HEAD request for schema hash (
#13
)
parent
6aaa737126f4
Pipeline
#82271
passed with stages
in 2 minutes and 58 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
src/client.ts
View file @
a5ff2e23
...
...
@@ -774,7 +774,7 @@ export class CwRqlClient implements RqlClient {
}
public
getSchemaHash
():
Promise
<
string
|
null
>
{
return
fetch
(
`
${
this
.
httpClient
.
baseUrl
}
/
rqlio/schema/`
,
{
return
fetch
(
`
${
this
.
httpClient
.
baseUrl
}
rqlio/schema/`
,
{
method
:
'
HEAD
'
,
}).
then
(
response
=>
{
const
hash
=
response
.
headers
.
get
(
'
Etag
'
);
...
...
Laurent Wouters
@lwouters
mentioned in commit
f1f69dbf3569
·
Sep 15, 2021
mentioned in commit
f1f69dbf3569
mentioned in commit 7871e1291444e81df32e50b23fccec6c798d1024
Toggle commit list
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