mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 22:57:46 +00:00
Replace deprecated fetch with http get (#530)
Applied in https://github.com/nushell/nushell/pull/7796
This commit is contained in:
parent
424e8d61a5
commit
28c7e097db
5 changed files with 6 additions and 6 deletions
|
@ -7,7 +7,7 @@ def call-gitlab [
|
|||
...args: string
|
||||
--query: string
|
||||
] {
|
||||
fetch -H [Authorization $"Bearer ($env.GITLAB_TOKEN)"] $"($projects)($args|str join)?($query)"
|
||||
http get -H [Authorization $"Bearer ($env.GITLAB_TOKEN)"] $"($projects)($args|str join)?($query)"
|
||||
}
|
||||
# Search files on your GitLab server
|
||||
def main [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue