Skip to content
Snippets Groups Projects
Commit fdf0f742 authored by Maximilian Schaldach's avatar Maximilian Schaldach :cactus:
Browse files

updated PidApi.ts

parent 3ebac918
No related branches found
No related tags found
2 merge requests!278Draft: Test apikey support,!270Resolve "PID Assignment"
......@@ -57,9 +57,10 @@ export class PidApi {
if (!id) { return '' }
const url = this.basePath
const typePlural = type + 's'
const requestData: PidRequest | null = {
instrument_instance: {
source_uri: `${window.location.origin}/${type}s/${id}`, // find better way to get frontend base url
source_uri: `${window.location.origin}/${typePlural}/${id}`, // find better way to get frontend base url
type,
id
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment