Skip to content

Token renewal button breaks "example projects curl"  #3033

@Ben-Epstein

Description

@Ben-Epstein

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to local UI
  2. Click on Account and Settings
  3. Scroll down to 'Example fetch projects data:'
  4. Click "refresh" on the token
  5. Copy and paste example fetch curl into terminal

Expected behavior
Should get the projects, instead get error because the curl is incorrectly formatted

Screenshots
the closing quote comes after Token instead of after the actual token
image

Environment (please complete the following information):

  • OS: [e.g. iOS] MacOS
  • Label Studio Version [e.g. 0.8.0] 1.6.0

Additional context
The error only happens after refreshing the token

Screen.Recording.2022-09-29.at.2.27.35.PM.mov

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions